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

Direction for expander arrow is incorrect

3 Answers 126 Views
Expander
This is a migrated thread and some comments may be shown as answers.
Xaria D
Top achievements
Rank 1
Xaria D asked on 10 Aug 2010, 09:04 AM
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?

3 Answers, 1 is accepted

Sort by
0
Miroslav
Telerik team
answered on 13 Aug 2010, 08:07 AM
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
0
Xaria D
Top achievements
Rank 1
answered on 16 Aug 2010, 04:40 AM
I am using  Q3 2009 and I get "The property DecoratorTemplate was not found in type RadExpander"
0
Miroslav
Telerik team
answered on 17 Aug 2010, 11:19 AM
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
Tags
Expander
Asked by
Xaria D
Top achievements
Rank 1
Answers by
Miroslav
Telerik team
Xaria D
Top achievements
Rank 1
Share this question
or