I am attempting to set a style for the RadWatermarkTextbox as follows;
The foreground colour changers to red but the background appears grey. I haver tried various opacity settings and also;
but the best I seem to get is a dirty-yellow background.
How do I override the default "battleship grey"?
<
Style
TargetType
=
"telerik:RadWatermarkTextBox"
x:Key
=
"RadWatermark"
>
<
Style.Triggers
>
<
DataTrigger
Binding
=
"{Binding Path=IsActive}"
Value
=
"False"
>
<
Setter
Property
=
"TextBlock.Foreground"
Value
=
"Red"
/>
<
Setter
Property
=
"TextBlock.Background"
Value
=
"LightYellow"
/>
</
DataTrigger
>
</
Style.Triggers
>
</
Style
>
The foreground colour changers to red but the background appears grey. I haver tried various opacity settings and also;
<
Style
TargetType
=
"telerik:RadWatermarkTextBox"
x:Key
=
"RadWatermark"
>
<
Style.Triggers
>
<
DataTrigger
Binding
=
"{Binding Path=IsActive}"
Value
=
"False"
>
<
Setter
Property
=
"TextBlock.Foreground"
Value
=
"Red"
/>
<
Setter
Property
=
"TextBlock.Background"
Value
=
"LightYellow"
/>
<
Setter
Property
=
"Background"
Value
=
"LightYellow"
/>
</
DataTrigger
>
</
Style.Triggers
>
</
Style
>
but the best I seem to get is a dirty-yellow background.
How do I override the default "battleship grey"?