ComponentOne SuperTooltip for WinForms
C1.Win.C1SuperTooltip.4.5.2 Assembly / C1.Win.C1SuperTooltip Namespace / C1SuperTooltip Class / GetToolTip Method / GetToolTip(Control) Method
The Control for which to retrieve the tooltip text.

In This Topic
    GetToolTip(Control) Method
    In This Topic
    Retrieves the C1SuperTooltip text associated with the specified control.
    Syntax
    'Declaration
     
    Public Overloads Function GetToolTip( _
       ByVal control As System.Windows.Forms.Control _
    ) As System.String
    public System.string GetToolTip( 
       System.Windows.Forms.Control control
    )

    Parameters

    control
    The Control for which to retrieve the tooltip text.

    Return Value

    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.
    See Also