Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / Silverlight > ColorPicker > Change Expander Button Style

Not answered Change Expander Button Style

Feed from this thread
  • Michael avatar

    Posted on Feb 10, 2011 (permalink)

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

    Reply

  • Petar Mladenov Petar Mladenov admin's avatar

    Posted on Feb 15, 2011 (permalink)

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

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / Silverlight > ColorPicker > Change Expander Button Style
Related resources for "Change Expander Button Style"

Silverlight ColorPicker Features  |  Documentation  |  Demos  |  Telerik TV  |  Self-Paced Trainer  ]