How to get or set the dock ability for a control?
9 Dec 2019 / 1 minute to read
The current dock ability for the controls can be retrieved or set using the below methods.
Methods | Description |
---|---|
GetDockAbility |
Retrieves the dock ability of the control. The parameter is, Ctrl - Indicates the docked control for which DockAbility has to be obtained. |
SetDockAbility |
Sets the dock ability of the control. Ctrl - Indicates the docked control for which DockAbility need to be set. |
//Getting the Dock Ability
this.dockingManager1.GetDockAbility(this.panel2);
//Setting the Dock Ability
this.dockingManager1.SetDockAbility(this.panel2, "Bottom, Horizontal");
'Getting the Dock Ability
Me.dockingManager1.GetDockAbility(Me.panel2)
'Setting the Dock Ability
Me.dockingManager1.SetDockAbility(Me.panel2, "Bottom, Horizontal")
Was this page helpful?
Yes
No
Thank you for your feedback!
Thank you for your feedback and comments. We will rectify this as soon as possible!
An unknown error has occurred. Please try again.
Help us improve this page