The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
PSPrakash S Syncfusion Team February 13, 2003 01:23 PM UTC
Hi Bruno,
There isn't an API to determine the tabbed state, but you can do so by directly accessing some of the internal docking windows classes. The following code tests whether the dockable control 'listBox1' is in a tabbed dock group, and if so, lists out all controls in that group.
Trace.Assert(this.dockingManager1.GetEnableDocking(this.listBox2));
Syncfusion.Windows.Forms.Tools.DockHost dhost = this.listBox2.Parent as Syncfusion.Windows.Forms.Tools.DockHost;
Syncfusion.Windows.Forms.Tools.DockHostController dhc = dhost.InternalController as Syncfusion.Windows.Forms.Tools.DockHostController;
if(dhc.ParentController is Syncfusion.Windows.Forms.Tools.DockTabController)
{
Trace.WriteLine("Control is docked as a tab");
Syncfusion.Windows.Forms.Tools.DockTabControl docktab = (dhc.ParentController as Syncfusion.Windows.Forms.Tools.DockTabController).TabControl;
foreach(DockTabPage tabpage in docktab.TabPages)
{
Control siblingcontrol = tabpage.dhcClient.HostControl.Controls[0];
Trace.WriteLine(siblingcontrol.Name);
}
}
Prakash
Syncfusion