Posted
on Oct 13, 2010
(permalink)
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
Reply
Posted
on Oct 13, 2010
(permalink)
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.
Reply
Answer
Petar Mladenov
Petar Mladenov
Posted
on Oct 18, 2010
(permalink)
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
Reply
Posted
on Oct 18, 2010
(permalink)
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?
Reply
Answer
Viktor Tsvetkov
Viktor Tsvetkov
Posted
on Oct 21, 2010
(permalink)
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
Reply
Posted
on Oct 21, 2010
(permalink)
Thank you Viktor!
Reply
George
Posted
on Dec 10, 2011
(permalink)
As a work aroud, I achieved the expected by setting the Flow Direction property. Expander>FlowDirection=RightToLeft and Content(say Grid)>FlowDirection=LeftToRight
Reply