Xceed Grid for WinForms v4.3 Documentation
SetIconAlignment Method


Xceed.Validation.v1.3 Assembly > Xceed.Validation Namespace > ValidationProvider Class : SetIconAlignment Method
The control to set the location for.
One of the System.Windows.Forms.ErrorIconAlignment value.
Sets the location where the error icon should be placed in relation to the control.
Syntax
'Declaration
 
<DefaultValueAttribute(Mono.Cecil.CustomAttributeArgument)>

<CategoryAttribute("Behavior")>

<DescriptionAttribute("Validation expression associated with the input component.")>

Public Sub SetIconAlignment( _

   ByVal inputControl As Control, _

   ByVal value As ErrorIconAlignment _

) 
'Usage
 
Dim instance As ValidationProvider

Dim inputControl As Control

Dim value As ErrorIconAlignment

 

instance.SetIconAlignment(inputControl, value)
[DefaultValue(Mono.Cecil.CustomAttributeArgument)]

[Category("Behavior")]

[Description("Validation expression associated with the input component.")]

public void SetIconAlignment( 

   Control inputControl,

   ErrorIconAlignment value

)

Parameters

inputControl
The control to set the location for.
value
One of the System.Windows.Forms.ErrorIconAlignment value.
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