Version

IsValidValue Method (EditorWithMask)

Returns true if the edited value is valid (read-only). If the value is invalid, the 'errorMessage' out parameter can contain an error message.
Syntax
'Declaration
 
Public Overrides Function IsValidValue( _
   ByRef errorMessage As String _
) As Boolean
public override bool IsValidValue( 
   out string errorMessage
)

Parameters

errorMessage
If the value is invalid, this out parameter can contain an error message.

Return Value

True if the editor's value is valid, else false.
Remarks
Accessing this property when the editor is not in edit mode will throw an exception.
Requirements

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