Hi,
I'm trying to set the background color for a disabled MultiColumnComboBox using a style, without succes. Here's my code
<
Style
x:Key
=
"DefaultTelerikRadMultiColumnComboBoxStyle"
TargetType
=
"telerik:RadMultiColumnComboBox"
BasedOn
=
"{StaticResource RadMultiColumnComboBoxStyle}"
>
<
Setter
Property
=
"FontFamily"
Value
=
"{StaticResource DefaultFont}"
/>
<
Setter
Property
=
"FontSize"
Value
=
"{StaticResource DefaultFontSize}"
/>
<
Setter
Property
=
"FontWeight"
Value
=
"{StaticResource DefaultFontWeight}"
/>
<
Setter
Property
=
"MinHeight"
Value
=
"{StaticResource DefaultMinimumHeight}"
/>
<
Setter
Property
=
"KeepDropDownOpen"
Value
=
"False"
/>
<
Setter
Property
=
"CloseDropDownAfterSelectionInput"
Value
=
"True"
/>
<
Setter
Property
=
"SelectionBoxesVisibility"
Value
=
"Visible"
/>
<
Setter
Property
=
"Validation.ErrorTemplate"
Value
=
"{StaticResource ErrorTemplate}"
/>
<
Style.Triggers
>
<
Trigger
Property
=
"IsEnabled"
Value
=
"True"
>
<
Setter
Property
=
"Background"
Value
=
"{StaticResource DefaultTextBoxBackgroundColor}"
/>
</
Trigger
>
<
Trigger
Property
=
"IsEnabled"
Value
=
"False"
>
<
Setter
Property
=
"Background"
Value
=
"WhiteSmoke"
/>
</
Trigger
>
<
Trigger
Property
=
"IsFocused"
Value
=
"True"
>
<
Setter
Property
=
"Background"
Value
=
"{StaticResource DefaultTextBoxIsFocusedBackgroundColor}"
/>
</
Trigger
>
</
Style.Triggers
>
</
Style
>
<
Style
TargetType
=
"{x:Type telerik:RadMultiColumnComboBox}"
BasedOn
=
"{StaticResource DefaultTelerikRadMultiColumnComboBoxStyle}"
/>
Any ideas ?
Regards
Hans