11-09-2021, 04:42 PM
So one thing is stopping me releasing my theme
When displaying game info im getting a whole list for AgeRating and features rather than one item.
I just want to disply PEGI for AgeRating no others and for festures Multiplayer or Single player
I am currently using this code
Now ive noticed there are bindings for "feature" and "AgeRating" So I assumed these without the "S" on end would give a single result but when using this code below nothing is displayed at all?
Can someone please help me out.
When displaying game info im getting a whole list for AgeRating and features rather than one item.
I just want to disply PEGI for AgeRating no others and for festures Multiplayer or Single player
I am currently using this code
<TextBlock Style="{DynamicResource TextBlockBaseStyle}" VerticalAlignment="center" HorizontalAlignment="center"
Text="{Binding SelectedGame.AgeRatings, Converter={StaticResource ListToStringConverter}}" />
<StackPanel Margin="10,0,0,0">
<TextBlock Style="{DynamicResource TextBlockBaseStyle}" VerticalAlignment="center" HorizontalAlignment="center"
Text="{Binding SelectedGame.Features, Converter={StaticResource ListToStringConverter}}" />
Now ive noticed there are bindings for "feature" and "AgeRating" So I assumed these without the "S" on end would give a single result but when using this code below nothing is displayed at all?
<TextBlock Style="{DynamicResource TextBlockBaseStyle}" VerticalAlignment="center" HorizontalAlignment="center"
Text="{Binding SelectedGame.Feature}" />
<TextBlock Style="{DynamicResource TextBlockBaseStyle}" VerticalAlignment="center" HorizontalAlignment="center"
Text="{Binding SelectedGame.AgeRating}" />
Can someone please help me out.