This is a migrated thread and some comments may be shown as answers.

Change Expander Button Style

1 Answer 111 Views
ColorPicker
This is a migrated thread and some comments may be shown as answers.
Michael
Top achievements
Rank 1
Michael asked on 10 Feb 2011, 05:02 PM
Hi, I'm trying to change the default expander button style in the radcolorpicker. Here is a snippet:

<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>
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

1 Answer, 1 is accepted

Sort by
0
Petar Mladenov
Telerik team
answered on 15 Feb 2011, 02:54 PM
Hi Michael,

We logged this issue in our PITS (ColorPicker: The default "ExpanderButtonStyle" cannot be edited in Expression Blend) where you will be soon able to vote for. We also updated your telerik points.
I've attached the default style of this expander button and you will be able to modify it.
Feel free to ask if you need further assistance.

Regards,
Petar Mladenov
the Telerik team
Let us know about your Windows Phone 7 application built with RadControls and we will help you promote it. Learn more>>
Tags
ColorPicker
Asked by
Michael
Top achievements
Rank 1
Answers by
Petar Mladenov
Telerik team
Share this question
or