On Expand collapse of Expander control, not reducing the height of parent control

2 posts, 0 answers
  1. Nikhil
    Nikhil avatar
    11 posts
    Member since:
    Apr 2011

    Posted 04 Jul 2011 Link to this post

    Hi,
    I am usinf RadExpander control to expand and collapse the panel. i have added this expander control in canvas with height and width set to Auto. but on expand and collapse the height of that convas is not getting changed.

    Could you please help me

    Thanks,
    Nikhil 
  2. Petar Mladenov
    Admin
    Petar Mladenov avatar
    2891 posts

    Posted 07 Jul 2011 Link to this post

    Hello Nikhil,

    The behavior you have come up with is expected. The Canvas does not resize when its children resize dynamically as an apposition to control like StackPanel. You can check out this starting article describing the measure and arrange processes in the layout system. Let us know if you need further info.

    Greetings,
    Petar Mladenov
    the Telerik team

    Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

  3. UI for WPF is Visual Studio 2017 Ready
Back to Top