We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to interact with DockTabGroup?

Platform: WinForms |
Control: DockingManager |
Published Date: April 30, 2011 |
Last Revised Date: July 10, 2014

 

Please refer the various methods and code snippets from below, which are used to interact with DockTabGroup:

ActivateControl:

The ActiveControl method of a DockingWindow, set focus to a control which is passed as its argument.

C#

//Changing focus to a particular control

dockingManager1.ActivateControl(panel1);

VB

'Changing focus to a particular control

DockingManager1.ActivateControl(Panel1)

SetTabPosition:

The DockingManager has a method called SetTabPosition, used to set tab position for a particular control which is passed as its argument.

C#

dockingManager1.SetTabPosition(panel1,1);

VB

DockingManager1.SetTabPosition(Panel1,1)

GetTabPosition:

The DockingManager has a method called GetTabPosition, used to get tab position for a particular control which is passed as its argument.

C#

//Getting the tab position

dockingManager1.GetTabPosition(panel1);

VB

' Getting the tab position

DockingManager1.GetTabPosition(Panel1)

Sample:

http://help.syncfusion.com/support/samples/kb/Tools.Windows/TDInte/Interaction.zip

2X faster development

The ultimate WinForms UI toolkit to boost your development speed.
ADD COMMENT
You must log in to leave a comment

Please sign in to access our KB

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon