views:

19

answers:

0

I am trying to get the Telerik Winforms RadPanel to have the same behavior as the stock WinForms Panel class when the stock Panel is set to AutoSize = true and AutoSizeMode = GrowAndShrink.

Basically, I want the RadPanel to autosize itself around the controls that are placed in it. I have tried the PanelElement AutoSize and WrapAroundChildren but that doesn't seem to work. Maybe I am doing something wrong?

How can this be achieved?