Hello,
I've been styling a project and have encountered a problem. I am trying to style the MouseOver and the ExpanderButtonPressed_Background coloring for a RadComboBox. I've changed the color in the Theme and it seems like the RadComboBox isn't calling the template correctly, but its not throwing an error and will load properly with the wrong backgrounds.
I've called the template:
<telerik:RadComboBox x:Name="comboBox" VerticalAlignment="Top" Margin="234,66,286,0" Template="{StaticResource NonEditableComboBox}">
It is included in the resource dictioinary:
<ResourceDictionary.MergedDictionaries>
<ResourceDictionary Source="/ComboBoxStyling;component/Theme/ComboBox.Default.xaml"/>
<ResourceDictionary Source="/ComboBoxStyling;component/Theme/ComboBox.Office_Black.xaml"/>
</ResourceDictionary.MergedDictionaries>
and I've changed the ExpanedButtonPressed_Background to a blue gradient:
<LinearGradientBrush x:Key="ExpanderButtonPressed_Background" EndPoint="0.5,1" StartPoint="0.5,0">
<GradientStop Color="#FFDCEBFC" Offset="0"/>
<GradientStop Color="#FFC1DBFC" Offset="1"/>
<GradientStop Color="#FFCEE2FC" Offset="0.5"/>
</LinearGradientBrush>
Any help would be appreciated. I'm relatively new to this so if the information is not sufficient let me know and I'll give the necessary information.
I've been styling a project and have encountered a problem. I am trying to style the MouseOver and the ExpanderButtonPressed_Background coloring for a RadComboBox. I've changed the color in the Theme and it seems like the RadComboBox isn't calling the template correctly, but its not throwing an error and will load properly with the wrong backgrounds.
I've called the template:
<telerik:RadComboBox x:Name="comboBox" VerticalAlignment="Top" Margin="234,66,286,0" Template="{StaticResource NonEditableComboBox}">
It is included in the resource dictioinary:
<ResourceDictionary.MergedDictionaries>
<ResourceDictionary Source="/ComboBoxStyling;component/Theme/ComboBox.Default.xaml"/>
<ResourceDictionary Source="/ComboBoxStyling;component/Theme/ComboBox.Office_Black.xaml"/>
</ResourceDictionary.MergedDictionaries>
and I've changed the ExpanedButtonPressed_Background to a blue gradient:
<LinearGradientBrush x:Key="ExpanderButtonPressed_Background" EndPoint="0.5,1" StartPoint="0.5,0">
<GradientStop Color="#FFDCEBFC" Offset="0"/>
<GradientStop Color="#FFC1DBFC" Offset="1"/>
<GradientStop Color="#FFCEE2FC" Offset="0.5"/>
</LinearGradientBrush>
Any help would be appreciated. I'm relatively new to this so if the information is not sufficient let me know and I'll give the necessary information.