Template ControlIs Valid Property
This read-only property can be overridden to allow querying of a row to see if it is valid
Definition
Namespace: EWSoftware.ListControls
Assembly: EWSoftware.ListControls (in EWSoftware.ListControls.dll) Version: 2024.12.31.0
Returns true if valid, false if not. By default, it invokes the control's OnValidating(CancelEventArgs) and Validated events.
Assembly: EWSoftware.ListControls (in EWSoftware.ListControls.dll) Version: 2024.12.31.0
C#
public virtual bool IsValid { get; }VB
Public Overridable ReadOnly Property IsValid As Boolean
GetC++
public:
virtual property bool IsValid {
bool get ();
}F#
abstract IsValid : bool with get
override IsValid : bool with getProperty Value
BooleanReturns true if valid, false if not. By default, it invokes the control's OnValidating(CancelEventArgs) and Validated events.
Remarks
This is useful in situations where the normal validating events are fired after certain
other events (i.e. tree view and data grid item selection events). This property is called on the
current row by DataList.IsValid.