Version

ValidateCurrentValue() Method

Validates the current value of the editor and initializes the IsValueValid property based on the results of the value validation.
Syntax
'Declaration
 
Public Overloads Sub ValidateCurrentValue() 
public void ValidateCurrentValue()
Remarks

ValueInput automatically validates the value whenever it changes and therefore typically it should not be necessary to call this method. However there may be times when you may want to force the value to be re-validated, for instance when the external validation criteria changes. This is especially useful when you are overriding the ValidateCurrentValue(Exception) virtual method to provide custom logic for the value validation. The ValueInput will update the IsValueValid property to reflect whether the value is valid or not.

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