#23 Change size programmatically

closed
nobody
None
5
2011-06-16
2011-06-16
Anonymous
No

I have a window docked as DockState.DockBottom as the first loading one so it creates a Pane automatically as well. something like this dc.Show(_dockManager, DockState.DockBottom);
The question is; how can I change the Height if this new created one programmatically? I could not figure it out! I have tried everything, ClientSize, of form, Pane. Height of those two objects... neither of them worked.

Regards,
Arash

Discussion


  • Anonymous
    2011-06-16

    • status: open --> closed
     

  • Anonymous
    2011-06-16

    Well, I found if eventually, properties of DockXXXXXXPortion series can be used, e.g DockBottomPortion