Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / WPF > Expander > few expanders in a window

Not answered few expanders in a window

Feed from this thread
  • Posted on Apr 19, 2010 (permalink)

    Hi,
    i don't know how to make for example 3 expanders one after another, so they will go up when one is collapsed, like this:

    v EXPANDER_1 (IsExpanded=false)
    --------------------
    v EXPANDER_2 (IsExpanded=false)
    --------------------
    v EXPANDER_3 (IsExpanded=false)
    --------------------

    than

    ^ EXPANDER_1 (IsExpanded=true)
    some controls
    some controls
    some controls
    --------------------
    v EXPANDER_2 (IsExpanded=false)
    --------------------
    ^ EXPANDER_3 (IsExpanded=true)
    some controls
    some controls
    some controls
    --------------------

    when i collapse one now, i just have free space between them.

    Regards,
    Zbigniew Kozłowski

    Reply

  • Ivan Ivan admin's avatar

    Posted on Apr 22, 2010 (permalink)

    Hello Zbigniew,

    Thank you for contacting us.

    You can achieve your goals lay-outing expanders in one of following two ways:
    • Using a StackPanel:
      For example you can stack your expanders in a stack panel (for example vertical oriented) and each expander will move reposition expanders below it.
    • Using a Grid:
      Each expander should be in a placed in a separated grid-row alone. The height of the row should be marked as Auto.

    Please preview the attached here example and let us know if you have more questions.

    Greetings,
    Ivan
    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

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / WPF > Expander > few expanders in a window
Related resources for "few expanders in a window"

WPF Expander Features  |  Documentation  |  Demos  |  Telerik TV  |  Self-Paced Trainer  ]