Infragistics(R) NetAdvantage(R) : Silverlight 2011.2
IsValueValid Property
See Also  E-mail your feedback on this topic.
Infragistics.Controls.Editors Namespace > ValueInput Class : IsValueValid Property

Specifies whether the current value of the editor is valid.

Syntax

Visual Basic (Declaration) 
Public ReadOnly Property IsValueValid As Boolean
C# 
public bool IsValueValid {get;}

Remarks

This property can be used to find out if the current value of the editor is valid. Value is considered valid if it can be coerced into a Infragistics.Controls.Editors.ValueInput.ValueType object and it satisfies constraints specified by ValueInput.ValueConstraint object.

When the user input can not be parsed into an object of type ValueType, the Infragistics.Controls.Editors.ValueInput.Value property will return the last valid value. However the Text property will return the user input.

See Also