Expand Button Alignment

2 posts, 0 answers
  1. jaimin
    jaimin avatar
    8 posts
    Member since:
    Oct 2010

    Posted 13 Oct 2010 Link to this post

    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?
  2. Petar Mladenov
    Admin
    Petar Mladenov avatar
    2891 posts

    Posted 15 Oct 2010 Link to this post

    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
  3. DevCraft banner
Back to Top