Share via


EditContext.IsValid Method

Definition

Overloads

IsValid(FieldIdentifier)

Determines whether the specified fields in this EditContext has no associated validation messages.

IsValid(Expression<Func<Object>>)

Determines whether the specified fields in this EditContext has no associated validation messages.

IsValid(FieldIdentifier)

Source:
EditContext.cs
Source:
EditContext.cs

Determines whether the specified fields in this EditContext has no associated validation messages.

public bool IsValid (in Microsoft.AspNetCore.Components.Forms.FieldIdentifier fieldIdentifier);
member this.IsValid : FieldIdentifier -> bool
Public Function IsValid (ByRef fieldIdentifier As FieldIdentifier) As Boolean

Parameters

fieldIdentifier
FieldIdentifier

Returns

True if the field has no associated validation messages after validation; otherwise false.

Applies to

IsValid(Expression<Func<Object>>)

Source:
EditContext.cs
Source:
EditContext.cs

Determines whether the specified fields in this EditContext has no associated validation messages.

public bool IsValid (System.Linq.Expressions.Expression<Func<object>> accessor);
member this.IsValid : System.Linq.Expressions.Expression<Func<obj>> -> bool
Public Function IsValid (accessor As Expression(Of Func(Of Object))) As Boolean

Parameters

accessor
Expression<Func<Object>>

Identifies the field whose current validation messages should be returned.

Returns

True if the field has no associated validation messages after validation; otherwise false.

Applies to