Version

IsValueValid Property

Specifies whether the current value of the editor is valid.
Syntax
'Declaration
 
Public ReadOnly Property IsValueValid As Boolean
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 ValueType object and it satisfies constraints specified by ValueConstraint object.

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

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, 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