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