Xceed Grid for WinForms v4.3 Documentation
GetValidationExpression Method


Xceed.Validation.v1.3 Assembly > Xceed.Validation Namespace > ValidationProvider Class : GetValidationExpression Method
The input component whose associated ValidationExpression will be returned.
Retrieves the validation expression associated with the component.
Syntax
'Declaration
 
<DescriptionAttribute("Validation expression associated with the input component.")>

<CategoryAttribute("Data")>

<DefaultValueAttribute("")>

<EditorAttribute("Xceed.Validation.Design.ValidationEditor,Xceed.Validation.v1.3.Design,Version=1.3.20076.12375,Culture=neutral,PublicKeyToken=ba83ff368b7563c6", System.Drawing.Design.UITypeEditor)>

<MergablePropertyAttribute(False)>

Public Function GetValidationExpression( _

   ByVal inputComponent As Object _

) As ValidationExpression
'Usage
 
Dim instance As ValidationProvider

Dim inputComponent As Object

Dim value As ValidationExpression

 

value = instance.GetValidationExpression(inputComponent)
[Description("Validation expression associated with the input component.")]

[Category("Data")]

[DefaultValue("")]

[Editor("Xceed.Validation.Design.ValidationEditor,Xceed.Validation.v1.3.Design,Version=1.3.20076.12375,Culture=neutral,PublicKeyToken=ba83ff368b7563c6", System.Drawing.Design.UITypeEditor)]

[MergableProperty(false)]

public ValidationExpression GetValidationExpression( 

   object inputComponent

)

Parameters

inputComponent
The input component whose associated ValidationExpression will be returned.

Return Value

The ValidationExpression associated with the input component.
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