ComponentOne SuperTooltip for WinForms
C1.Win.SuperTooltip.5 Assembly / C1.Win.SuperTooltip Namespace / C1SuperErrorProvider Class / GetIconPadding Method
The control to get the padding for.

In This Topic
    GetIconPadding Method (C1SuperErrorProvider)
    In This Topic
    Returns the amount of extra space to leave next to the error icon.
    Syntax
    'Declaration
     
    Public Function GetIconPadding( _
       ByVal control As System.Windows.Forms.Control _
    ) As System.Integer
    public System.int GetIconPadding( 
       System.Windows.Forms.Control control
    )

    Parameters

    control
    The control to get the padding for.

    Return Value

    The number of pixels to leave between the icon and the control.
    See Also