When binding the RadListBox, the list items have a gray foreground color on load. It is only until I mouse over each item that they turn to black. After the mouse over it is working fine.
My Listbox is:
DataTemplate:
My Listbox is:
<
telerik:RadListBox
x:Name
=
"lb1"
Width
=
"116"
HorizontalAlignment
=
"Left"
IsEnabled
=
"True"
telerik:StyleManager.Theme
=
"Windows7"
ItemsSource
=
"{Binding}"
>
<
telerik:RadListBox.ItemTemplate
>
<
StaticResource
ResourceKey
=
"Template1"
/>
</
telerik:RadListBox.ItemTemplate
>
</
telerik:RadListBox
>
DataTemplate:
<
Grid.Resources
>
<
DataTemplate
x:Key
=
"Template1"
>
<
WrapPanel
>
<
Grid
>
<
Grid.RowDefinitions
>
<
RowDefinition
Height
=
"20"
/>
</
Grid.RowDefinitions
>
<
Grid.ColumnDefinitions
>
<
ColumnDefinition
Width
=
"*"
/>
<
ColumnDefinition
Width
=
"*"
/>
</
Grid.ColumnDefinitions
>
<
TextBlock
Grid.Column
=
"0"
Text
=
"{Binding Path=A1}"
/>
<
TextBlock
Grid.Column
=
"1"
Text
=
"{Binding Path=B1}"
Margin
=
"4,0,0,0"
/>
</
Grid
>
</
WrapPanel
>
</
DataTemplate
>
</
Grid.Resources
>