Articles in this section
Category / Section

How to know whether a docked control is in tabbed style or not in WinForms Docking Manager?

1 min read

Identify the tabbed state

The DockingManager has a method called IsTabbed which takes a control as its argument and returns true when the control is in the tabbed state, false otherwise. Please refer the below code snippet which illustrates this.

C#

// Returns true if the control is in Tabbed State.Otherwise false
dockingManager1.IsTabbed(this.panel1);

 

VB

' Returns true if the control is in Tabbed State.Otherwise false
DockingManager1.IsTabbed(Me.Panel1)

Sample: http://help.syncfusion.com/support/samples/kb/Tools.Windows/TDIsTabbed/IsTabbed.zip

UG document link: https://help.syncfusion.com/windowsforms/dockingmanager/tabbed-window#identify-the-tabbed-state-for-control

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Please sign in to leave a comment
Access denied
Access denied