HeaderPane
Main
Hide
Share Link
Print

IsValid Property, SftMask Class

Returns whether the contents are valid.

Class: SftMask
Namespace: Softelvdm.SftMaskNET
Assembly: Softelvdm.SftMaskNET

Syntax

public bool IsValid { get; }
Public ReadOnly Property IsValid As Boolean

Value

True if every mandatory input position holds a valid character, every numeric field holds a value in its range (or the control is empty and empty contents are allowed) and no SftMask.CustomValidation event handler rejected the contents.

Comments

Returns whether the contents are valid.

The SftMask.CustomValidation event is raised; the SftMask.ValidationError event is not.

See Also SftMask Class | Classes | SftMask/NET 3.0