Class DataGridRowValidator
- Namespace
- MudBlazor
- Assembly
- MudBlazor.dll
Represents the validation logic for a MudDataGrid<T> row.
public class DataGridRowValidator : IForm
- Inheritance
-
DataGridRowValidator
- Implements
- Inherited Members
- Extension Methods
Constructors
DataGridRowValidator()
public DataGridRowValidator()
Fields
_errors
protected HashSet<string> _errors
Field Value
_formControls
protected HashSet<IFormComponent> _formControls
Field Value
Properties
Errors
Any validation errors for this row.
public string[] Errors { get; }
Property Value
- string[]
IsValid
Indicates whether the row is valid.
public bool IsValid { get; }
Property Value
Model
The data to validate for this row.
public virtual object? Model { get; set; }
Property Value
Methods
Validate()
Checks this row for any validation errors.
public void Validate()