Posted 03 Oct 2011 Link to this post
<
telerik:RadComboBox
Margin
=
"2"
x:Name
"DistanceComboBox"
VerticalAlignment
"Center"
Width
"50"
SelectedIndex
"0"
>
telerik:RadComboBox.Items
telerik:RadComboBoxItem
>5</
>10</
>20</
>30</
>50</
>75</
</
Style
"{StaticResource MyStyle}"
Posted 04 Oct 2011 Link to this post
UserControl.Resources
TargetType
"telerik:RadComboBoxItem"
x:Key
"ItemContainerStyle"
Setter
Property
"Foreground"
Value
"Lime"
/>
"FontWeight"
"Bold"
DataTemplate
"SelectionComboBoxTemplate"
Grid
TextBlock
Text
"{Binding Name}"
Foreground
FontWeight
"RadComboBox3"
Grid.Row
"1"
Grid.Column
ItemContainerStyle
"{StaticResource ItemContainerStyle}"
SelectionBoxTemplate
"{StaticResource SelectionComboBoxTemplate}"
ItemsSource
"{Binding Agency}"
DisplayMemberPath
"Name"
"0 0 20 0"
,
SelectionBoxTemplate are not effect in this case