ComponentOne Menus and Toolbars for WinForms
C1.Win.C1SuperTooltip.4.8 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.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also