[]
        
(Showing Draft Content)

C1.Win.C1SuperTooltip.C1SuperTooltip.GetToolTip

GetToolTip Method

GetToolTip(Control)

Retrieves the C1SuperTooltip text associated with the specified control.

Declaration
public string GetToolTip(Control control)
Parameters
Type Name Description
Control control

The Control for which to retrieve the tooltip text.

Returns
Type Description
string

The tooltip text for the specified control.

Remarks

This method enables you to retrieve the tooltip text for any control. If the tooltip text changes dynamically in an application, you can use this method to find out what text is displayed at any point, depending on the state of the application. To change the text that a control is displaying, use the SetToolTip(Control, string) method.

GetToolTip(ToolStripItem)

Retrieves the C1SuperTooltip text associated with the specified ToolStripItem component.

Declaration
public string GetToolTip(ToolStripItem item)
Parameters
Type Name Description
ToolStripItem item

The ToolStripItem for which to retrieve the tooltip text.

Returns
Type Description
string

The tooltip text for the specified ToolStripItem component.