This question is locked. New answers and comments are not allowed.
I have the following XAML for my RadDataBoundListBox.ItemTemplate, is it possible to define visual states and style within the DataTemplate? Or perhaps there is another alternative that will allow me to have greater flexibility from a style and state management point of view?
<
Controls1:RadDataBoundListBox.ItemTemplate
>
<
DataTemplate
>
<
Grid
Margin
=
"8, 8, 0, 12"
>
<
Grid.RowDefinitions
>
<
RowDefinition
/>
<
RowDefinition
/>
</
Grid.RowDefinitions
>
<
Grid.ColumnDefinitions
>
<
ColumnDefinition
/>
<
ColumnDefinition
MinWidth
=
"60"
Width
=
"Auto"
/>
</
Grid.ColumnDefinitions
>
<
TextBlock
Foreground
=
"{StaticResource PhoneForegroundBrush}"
Text
=
"{Binding Name}"
FontSize
=
"{StaticResource PhoneFontSizeExtraLarge}"
FontFamily
=
"Segoe WP SemiLight"
/>
<
TextBlock
Grid.Row
=
"1"
Foreground
=
"{StaticResource PhoneSubtleBrush}"
Text
=
"{Binding Description}"
TextWrapping
=
"Wrap"
MaxHeight
=
"54"
FontSize
=
"{StaticResource PhoneFontSizeNormal}"
/>
</
Grid
>
</
DataTemplate
>
</
Controls1:RadDataBoundListBox.ItemTemplate
>