Hi, I'm trying to change the default expander button style in the radcolorpicker. Here is a snippet:
And I am getting the following error in Blend: (in attached image)
I'm trying to make it look like attached image:
I hope you can help me. Thanks
<
Style
x:Key
=
"ExpanderButtonStyle"
TargetType
=
"Button"
>
<
Setter
Property
=
"Template"
>
<
Setter.Value
>
<
ControlTemplate
TargetType
=
"Button"
>
<
StackPanel
Orientation
=
"Horizontal"
>
<
TextBlock
Text
=
"Background Color: "
/>
<
Rectangle
Width
=
"16"
Height
=
"16"
Fill
=
"{TemplateBinding Background}"
/>
</
StackPanel
>
</
ControlTemplate
>
</
Setter.Value
>
</
Setter
>
</
Style
>
I'm trying to make it look like attached image:
I hope you can help me. Thanks