Hi,
I am working on a RadGridView with a GridViewCheckBoxColumn using the Expression_DarkTheme. I'm trying to modify the colors, which is working well for most of the colors. But i have some problems with the background of the checkbox.
In edit mode i can modify the color by setting the BulletDecoratot.Bullet background color
But i'm not able to change the color to white outside of the edit mode.
Can you please give me a hint?
Thanks
Andreas
I am working on a RadGridView with a GridViewCheckBoxColumn using the Expression_DarkTheme. I'm trying to modify the colors, which is working well for most of the colors. But i have some problems with the background of the checkbox.
In edit mode i can modify the color by setting the BulletDecoratot.Bullet background color
<
Setter
Property
=
"Template"
>
<
Setter.Value
>
<
ControlTemplate
TargetType
=
"{x:Type CheckBox}"
>
<
BulletDecorator
Background
=
"Transparent"
SnapsToDevicePixels
=
"true"
>
<
BulletDecorator.Bullet
>
<
Border
x:Name
=
"Border"
Width
=
"13"
Height
=
"13"
CornerRadius
=
"0"
Background
=
"White"
BorderThickness
=
"1"
BorderBrush
=
"#404040"
>
<
Path
Width
=
"7"
Height
=
"7"
x:Name
=
"CheckMark"
SnapsToDevicePixels
=
"False"
Stroke
=
"#404040"
StrokeThickness
=
"2"
Data
=
"M 0 0 L 7 7 M 0 7 L 7 0"
/>
</
Border
>
</
BulletDecorator.Bullet
>
</
BulletDecorator
>
<
ControlTemplate.Triggers
>
<
Trigger
Property
=
"HasContent"
Value
=
"true"
>
<
Setter
Property
=
"FocusVisualStyle"
Value
=
"{StaticResource CheckRadioFocusVisual}"
/>
<
Setter
Property
=
"Padding"
Value
=
"4,0,0,0"
/>
</
Trigger
>
<
Trigger
Property
=
"IsEnabled"
Value
=
"false"
>
<
Setter
Property
=
"Foreground"
Value
=
"{DynamicResource {x:Static SystemColors.GrayTextBrushKey}}"
/>
</
Trigger
>
</
ControlTemplate.Triggers
>
</
ControlTemplate
>
</
Setter.Value
>
</
Setter
>
But i'm not able to change the color to white outside of the edit mode.
Can you please give me a hint?
Thanks
Andreas