Input for WinForms | ComponentOne
C1.Framework Namespace / XViewLight Class / SetToolTip(Control,String) Method
Control that will be associated with the rich tooltip.
String containing Html text to be displayed in the tooltip.

In This Topic
    SetToolTip(Control,String) Method
    In This Topic
    Associates a rich tooltip with a control.
    Syntax
    'Declaration
     
    
    Protected Sub SetToolTip( _
       ByVal control As Control, _
       ByVal text As String _
    ) 
    protected void SetToolTip( 
       Control control,
       string text
    )

    Parameters

    control
    Control that will be associated with the rich tooltip.
    text
    String containing Html text to be displayed in the tooltip.
    Remarks
    Use the XView built-in tooltip instead of the regular System.Windows.Forms.ToolTip component in order to provide a consistent look between the tooltips associated with XView elements and other controls on your form.
    See Also