Articles in this section
Category / Section

How to set the tooltip displayed for buttons on the title bar in WinForms Docking Manager?

1 min read

Change the Tooltip

The Docking Manager has 6 methods for the manipulation of the ToolTip displayed in Title bar.

SetCloseButtonToolTip(String Text) - Used to set tooltip for close button in the title bar of the Docked window.

GetCloseButtonToolTip() - Get the tooltip for close button in the title bar of the Docked window

SetAutoHideButtonToolTip(String Text) - Used to set tooltip for Autohide button in the title bar of the Docked window.

GetAutoHideButtonToolTip() - Get the tooltip for Autohide button in the title bar of the Docked window

SetMenuButtonToolTip(String Text) - Used to set tooltip for menu button in the title bar of the Docked window.

GetMenuButtonToolTip() - Get the tooltip for Autohide button in the title bar of the Docked window.

C#

// set string to be display as ToolTip for close button in the title bar
  dockingManager1.SetMenuButtonToolTip("My ToolTip");
//Get the close button tooltip in the title bar
String txt=dockingManager1.GetCloseButtonToolTip();

 

VB

' Sting to be display as ToolTip
  DockingManager1.SetMenuButtonToolTip("My ToolTip")
'Get the close button tooltip in the title bar
String txt=dockingManager1.GetCloseButtonToolTip();

 

UG document link: https://help.syncfusion.com/windowsforms/docking-manager/dealing-with-docking-child#tooltip-for-caption-buttons

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