home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 2
Skins and Design
BlueVision
Blue Vision
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="ge2301" data-source="post: 1141678" data-attributes="member: 145639"><p>Shouldn't it work like following. I tried it with a list of labels at first. However nothing is shown ...</p><p></p><p>[html] <media:VideoAspectWrapper MediaItem="{Binding MediaItem}" Grid.Column="1" Grid.Row="0" Grid.RowSpan="2" Margin="20,5,20,5"></p><p> <media:VideoAspectWrapper.Template></p><p> <ControlTemplate></p><p> <Grid Grid.Row="0" Grid.Column="0" DataContext="{Binding RelativeSource={RelativeSource TemplatedParent}}"></p><p> <Grid.RowDefinitions></p><p> <RowDefinition Height="*"/></p><p> </Grid.RowDefinitions></p><p> <Grid.ColumnDefinitions></p><p> <ColumnDefinition Width="*"/></p><p> </Grid.ColumnDefinitions></p><p></p><p> <ListView Grid.Row="0" Grid.Column="0" x:Name="AudioLanguageList" ItemsSource="{Binding AudioLanguages}"</p><p> HorizontalAlignment="Stretch" VerticalAlignment="Stretch"></p><p> <ListView.ItemTemplate></p><p> <DataTemplate></p><p> <StackPanel Orientation="Horizontal"></p><p> <Label Content="{Binding}" /></p><p> </StackPanel></p><p> </DataTemplate></p><p> </ListView.ItemTemplate></p><p> </ListView></p><p> </p><p> </Grid></p><p> </ControlTemplate></p><p> </media:VideoAspectWrapper.Template></p><p> </media:VideoAspectWrapper>[/html]</p></blockquote><p></p>
[QUOTE="ge2301, post: 1141678, member: 145639"] Shouldn't it work like following. I tried it with a list of labels at first. However nothing is shown ... [html] <media:VideoAspectWrapper MediaItem="{Binding MediaItem}" Grid.Column="1" Grid.Row="0" Grid.RowSpan="2" Margin="20,5,20,5"> <media:VideoAspectWrapper.Template> <ControlTemplate> <Grid Grid.Row="0" Grid.Column="0" DataContext="{Binding RelativeSource={RelativeSource TemplatedParent}}"> <Grid.RowDefinitions> <RowDefinition Height="*"/> </Grid.RowDefinitions> <Grid.ColumnDefinitions> <ColumnDefinition Width="*"/> </Grid.ColumnDefinitions> <ListView Grid.Row="0" Grid.Column="0" x:Name="AudioLanguageList" ItemsSource="{Binding AudioLanguages}" HorizontalAlignment="Stretch" VerticalAlignment="Stretch"> <ListView.ItemTemplate> <DataTemplate> <StackPanel Orientation="Horizontal"> <Label Content="{Binding}" /> </StackPanel> </DataTemplate> </ListView.ItemTemplate> </ListView> </Grid> </ControlTemplate> </media:VideoAspectWrapper.Template> </media:VideoAspectWrapper>[/html] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 2
Skins and Design
BlueVision
Blue Vision
Contact us
RSS
Top
Bottom