ComponentOne Menus and Toolbars for WinForms
C1.Win.SuperTooltip.8 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.
    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