Xceed Grid for WinForms v4.3 Documentation
SetIconPadding Method


Xceed.Validation.v1.3 Assembly > Xceed.Validation Namespace > ValidationProvider Class : SetIconPadding Method
The control to set the padding for.
The number of pixels to add between control and the icon.
Sets the amount of extra space to leave between the specified control and the error icon.
Syntax
'Declaration
 
<DefaultValueAttribute(0)>
<DescriptionAttribute("Space to leave between the specified control and the icon.")>
<CategoryAttribute("Behavior")>
Public Sub SetIconPadding( _
   ByVal inputControl As Control, _
   ByVal value As Integer _
) 
'Usage
 
Dim instance As ValidationProvider
Dim inputControl As Control
Dim value As Integer
 
instance.SetIconPadding(inputControl, value)
[DefaultValue(0)]
[Description("Space to leave between the specified control and the icon.")]
[Category("Behavior")]
public void SetIconPadding( 
   Control inputControl,
   int value
)

Parameters

inputControl
The control to set the padding for.
value
The number of pixels to add between control and the icon.
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

Reference

ValidationProvider Class
ValidationProvider Members