This question is locked. New answers and comments are not allowed.
I'm trying to restyle my radcomboboxitem, but i dont find how to set the color of the Text. What property should i set exactly?
For the moment this is my style
Thx in advance.
For the moment this is my style
| <Style TargetType="telerikInput:RadComboBoxItem"> |
| <Setter Property="MinHeight" Value="22" /> |
| <Setter Property="Template"> |
| <Setter.Value> |
| <ControlTemplate TargetType="telerikInput:RadComboBoxItem"> |
| <Grid x:Name="LayoutRoot" MinHeight="{TemplateBinding MinHeight}"> |
| <vsm:VisualStateManager.VisualStateGroups> |
| <vsm:VisualStateGroup x:Name="CommonStates"> |
| <vsm:VisualState x:Name="Normal" /> |
| <vsm:VisualState x:Name="MouseOver"> |
| <Storyboard Duration="0"> |
| <ObjectAnimationUsingKeyFrames Storyboard.TargetName="Bd" |
| Storyboard.TargetProperty="Background"> |
| <DiscreteObjectKeyFrame KeyTime="0" |
| Value="{StaticResource MouseOverBrush}" /> |
| </ObjectAnimationUsingKeyFrames> |
| </Storyboard> |
| </vsm:VisualState> |
| <vsm:VisualState x:Name="Disabled"> |
| <Storyboard Duration="0"> |
| <ObjectAnimationUsingKeyFrames |
| Storyboard.TargetName="DisabledVisual" |
| Storyboard.TargetProperty="Visibility"> |
| <DiscreteObjectKeyFrame KeyTime="0"> |
| <DiscreteObjectKeyFrame.Value> |
| <Visibility>Visible</Visibility> |
| </DiscreteObjectKeyFrame.Value> |
| </DiscreteObjectKeyFrame> |
| </ObjectAnimationUsingKeyFrames> |
| </Storyboard> |
| </vsm:VisualState> |
| </vsm:VisualStateGroup> |
| </vsm:VisualStateManager.VisualStateGroups> |
| <Border x:Name="Bd" BorderBrush="{TemplateBinding BorderBrush}" |
| BorderThickness="{TemplateBinding BorderThickness}" |
| Background="#FFBBBDBE" /> |
| <ContentPresenter Margin="3,0,0,0" VerticalAlignment="Center" /> |
| <Rectangle x:Name="DisabledVisual" Visibility="Collapsed" |
| Fill="{StaticResource DisabledBrush}" /> |
| </Grid> |
| </ControlTemplate> |
| </Setter.Value> |
| </Setter> |
| </Style> |
Thx in advance.