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

Expand Button Alignment

1 Answer 60 Views
Expander
This is a migrated thread and some comments may be shown as answers.
jaimin
Top achievements
Rank 1
jaimin asked on 13 Oct 2010, 07:34 AM
hi,

I am using Expander control with ExpandDirection is Right. and use usercontrol as Header.
the problem is the Expand Button sits the center. i have to HorizontalAlignment to right.

how can i do that?

1 Answer, 1 is accepted

Sort by
0
Petar Mladenov
Telerik team
answered on 15 Oct 2010, 03:00 PM
Hi jaimin,

In order to set the Expander Button position  you have to make changes in its style. You should modify the ControlTemplate "ExpanderHeaderTemplate" and to set the RadExpanderDecorator`s property HorizaontalAlignment to Right .

I prepared a sample project demonstrating this style changes. I hope this is what you need .
Please let me know if you need more info and I would be glad to assist you further.

All the best,
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
Tags
Expander
Asked by
jaimin
Top achievements
Rank 1
Answers by
Petar Mladenov
Telerik team
Share this question
or