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

Text on left and expand button on right

7 Answers 230 Views
Expander
This is a migrated thread and some comments may be shown as answers.
Murray
Top achievements
Rank 2
Murray asked on 13 Oct 2010, 04:22 PM
Hi

Is there a way to move the expander button to the far right of the header and leave the text on the far left? (expand direction = down)

I have tried working with the template. I even added a new column in the containing grid and moved the button to that column, but it had no effect. I'm asuming there is a dependency I'm missing?

(See attached image for example of what I need)

Thanks
Murray

7 Answers, 1 is accepted

Sort by
0
Murray
Top achievements
Rank 2
answered on 13 Oct 2010, 06:24 PM
This page in your documentation (http://www.telerik.com/help/silverlight/radexpander-structure.html) has a link to "Required parts" which might have been helpful in understanding the component structure, but the link is dead.
0
Accepted
Petar Mladenov
Telerik team
answered on 18 Oct 2010, 10:04 AM
Hello Murray,

 
First of all, please accept our apologies for the missing article. We scheduled this problem and the page should be soon accessible.

In order to change the Expander header  you have to make changes in its style.
Moving the Expander Decorator to the right and Header Content to the left can be done by resetting their columns in the grid they are contained. Then you have to disable the default animation for the "DirectionDown" visual state ( in case you use this direction).

Please examine the attached solution and feel free to ask if you need further assistance.

Greetings,
Petar Mladenov
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
Murray
Top achievements
Rank 2
answered on 18 Oct 2010, 01:49 PM
Thank you so much for your quick answer and sample project! this is exactly what I needed!

Do you think this may be added to the properties of the Expander in future releases?
0
Accepted
Viktor Tsvetkov
Telerik team
answered on 21 Oct 2010, 08:46 AM
Hello Murray,

Thank you for contacting us. I have added  this issue in our PITS under the name "Expander: Add a property in order to change the position of the expander button" and it will be ready for tracking and voting tomorrow the latest.

Sincerely yours,
Viktor Tsvetkov
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
Murray
Top achievements
Rank 2
answered on 21 Oct 2010, 12:59 PM
Thank you Viktor!
0
George
Top achievements
Rank 1
answered on 10 Dec 2011, 08:13 AM
As a work aroud, I achieved the expected by setting the Flow Direction property. Expander>FlowDirection=RightToLeft and Content(say Grid)>FlowDirection=LeftToRight
0
Luis
Top achievements
Rank 1
answered on 10 Jul 2015, 10:28 PM
nice, thanks
Tags
Expander
Asked by
Murray
Top achievements
Rank 2
Answers by
Murray
Top achievements
Rank 2
Petar Mladenov
Telerik team
Viktor Tsvetkov
Telerik team
George
Top achievements
Rank 1
Luis
Top achievements
Rank 1
Share this question
or