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.
Unfortunately, activation email could not send to your email. Please try again.

How to interact with DockTabGroup?

 

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

Article ID: Published Date: Last Revised Date: Platform: Control:
1372 04/30/2011 07/10/2014 Windows Forms DockingManager
Tags:
Did you find this information helpful?
Add Comment
You must log in to leave a comment

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.