How to set SuperToolTip for the Tabbed docked controls in WinForms Docking Manager?
You can display the SuperToolTip on Tabbed docked controls by enabling ShowSuperToolTips, HotTrack property in TabControlAdv.
C#
TabControlAdv tabcontrol = new TabControlAdv(); DockHost dhost = ((DockHost)(this.treeViewUserControl1.Parent)); DockHostController dhc = ((DockHostController)(dhost.InternalController)); if ((!(dhc.ParentController == null) && (dhc.ParentController.GetType() == DockTabController))) { DockTabController dtc = ((DockTabController)(dhc.ParentController)); tabcontrol = ((DockTabControl)(dtc.TabControl)); tabcontrol.ShowSuperToolTips = true; tabcontrol.TabPages(0).SuperTooltip = toolTipInfo1; tabcontrol.TabPages(1).SuperTooltip = toolTipInfo1; } tabcontrol.HotTrack = true;
VB
Dim tabcontrol As TabControlAdv = New TabControlAdv Dim dhost As DockHost = CType(Me.treeViewUserControl1.Parent, DockHost) Dim dhc As DockHostController = CType(dhost.InternalController, DockHostController) If ((Not (dhc.ParentController) Is Nothing) _ AndAlso (TypeOf dhc.ParentController Is DockTabController)) Then Dim dtc As DockTabController = CType(dhc.ParentController, DockTabController) tabcontrol = CType(dtc.TabControl, DockTabControl) tabcontrol.ShowSuperToolTips = True tabcontrol.TabPages(0).SuperTooltip = toolTipInfo1 tabcontrol.TabPages(1).SuperTooltip = toolTipInfo1 End If tabcontrol.HotTrack = True
Sample:
Conclusion
I hope you enjoyed learning about how to set SuperToolTip for the Tabbed docked controls in WinForms Docking Manager.
You can refer to our WinForms DockingManager feature tour page to know about its other groundbreaking feature
representations and documentation, and
how to quickly get started for configuration specifications. You can also explore our WinForms
DockingManager example
to understand how to create and
manipulate data.
For current customers, you can check out our components from the License and Downloads page. If you are new to Syncfusion, you can try our 30-day free trial to check out our other controls.
If you have any queries or require clarifications, please let us know in the comments section below. You can also contact us through our support forums, Direct-Trac, or feedback portal. We are always happy to assist you!