ComponentOne SuperTooltip for WinForms
C1.Win.SuperTooltip.5 Assembly / C1.Win.SuperTooltip Namespace / C1SuperErrorProvider Class / SetIconPadding Method
The control to set the padding for.
The number of pixels to add between the icon and the control.

In This Topic
    SetIconPadding Method (C1SuperErrorProvider)
    In This Topic
    Sets the amount of extra space to leave between the specified control and the error icon.
    Syntax
    'Declaration
     
    Public Sub SetIconPadding( _
       ByVal control As System.Windows.Forms.Control, _
       ByVal padding As System.Integer _
    ) 
    public void SetIconPadding( 
       System.Windows.Forms.Control control,
       System.int padding
    )

    Parameters

    control
    The control to set the padding for.
    padding
    The number of pixels to add between the icon and the control.
    See Also