Resizable user control

  • Thread starter Thread starter George
  • Start date Start date
G

George

Hello,

How can I make my user control resizable at runtime, just like using a
splitter?

My control will be docked right at the form and I want to be able to change
its length.

Thanks!
 
Hi George
You can get this functionality using
Dockstyle dock property of you user control (using the get and set to
values)
Also you can write a handler to the dock change event of your control to
set the new size if you will do so while changing the docking

Mohamed Mahfouz
MEA Developer Support Center
ITworx on behalf of Microsoft EMEA GTSC
 
Back
Top