Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / WPF > Expander > Direction for expander arrow is incorrect

Not answered Direction for expander arrow is incorrect

Feed from this thread
  • Xaria D avatar

    Posted on Aug 10, 2010 (permalink)

    I feel the arrow for expander and panel bars  points wrongly, it should behave opposite to how it is now.
    How to modify  the arrow?

    Reply

  • Miroslav Miroslav admin's avatar

    Posted on Aug 13, 2010 (permalink)

    Hi Xaria D,

    You can set the DecoratorTemplate property to any ControlTemplate for a ContentControl:

    <Grid.Resources>
        <ControlTemplate TargetType="ContentControl" x:Key="decorator">
            <Rectangle Fill="Red" Width="10" Height="10" />
        </ControlTemplate>
    </Grid.Resources>
      
    <telerik:RadExpander DecoratorTemplate="{StaticResource decorator}" >
        <Button Content="Some Content" />
    </telerik:RadExpander>


    Greetings,
    Miroslav
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items

    Reply

  • Xaria D avatar

    Posted on Aug 15, 2010 (permalink)

    I am using  Q3 2009 and I get "The property DecoratorTemplate was not found in type RadExpander"

    Reply

  • Miroslav Miroslav admin's avatar

    Posted on Aug 17, 2010 (permalink)

    Hi Xaria D,

    Indeed this property was added in a later release. If it is not an option for you to upgrade, I can suggest editing the RadExpander's ControlTemplate.

    In Q3 2009's release the arrow can be changed from there (you can look for the ToggleButton in the RadExpander's template).

    Kind regards,
    Miroslav
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / WPF > Expander > Direction for expander arrow is incorrect
Related resources for "Direction for expander arrow is incorrect"

WPF Expander Features  |  Documentation  |  Demos  |  Telerik TV  |  Self-Paced Trainer  ]