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

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

1 Answer 153 Views
Expander
This is a migrated thread and some comments may be shown as answers.
Nikhil
Top achievements
Rank 1
Nikhil asked on 04 Jul 2011, 10:31 AM
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 

1 Answer, 1 is accepted

Sort by
0
Petar Mladenov
Telerik team
answered on 07 Jul 2011, 08:19 AM
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!

Tags
Expander
Asked by
Nikhil
Top achievements
Rank 1
Answers by
Petar Mladenov
Telerik team
Share this question
or