Text on left and expand button on right

8 posts, 2 answers
  1. Murray
    Murray avatar
    121 posts
    Member since:
    Aug 2010

    Posted 13 Oct 2010 Link to this post

    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
  2. Murray
    Murray avatar
    121 posts
    Member since:
    Aug 2010

    Posted 13 Oct 2010 Link to this post

    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.
  3. DevCraft banner
  4. Answer
    Petar Mladenov
    Admin
    Petar Mladenov avatar
    2891 posts

    Posted 18 Oct 2010 Link to this post

    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
  5. Murray
    Murray avatar
    121 posts
    Member since:
    Aug 2010

    Posted 18 Oct 2010 Link to this post

    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?
  6. Answer
    Viktor Tsvetkov
    Admin
    Viktor Tsvetkov avatar
    382 posts

    Posted 21 Oct 2010 Link to this post

    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
  7. Murray
    Murray avatar
    121 posts
    Member since:
    Aug 2010

    Posted 21 Oct 2010 Link to this post

    Thank you Viktor!
  8. George
    George avatar
    1 posts
    Member since:
    Dec 2011

    Posted 10 Dec 2011 Link to this post

    As a work aroud, I achieved the expected by setting the Flow Direction property. Expander>FlowDirection=RightToLeft and Content(say Grid)>FlowDirection=LeftToRight
  9. Luis
    Luis avatar
    29 posts
    Member since:
    Dec 2013

    Posted 10 Jul 2015 in reply to George Link to this post

    nice, thanks
Back to Top
DevCraft banner