Class TableRowValidator
- Namespace
- MudBlazor
- Assembly
- MudBlazor.dll
A validator for rows within a MudTable<T>.
public class TableRowValidator : IForm
- Inheritance
-
TableRowValidator
- Implements
- Inherited Members
- Extension Methods
Constructors
TableRowValidator()
public TableRowValidator()
Fields
_errors
protected HashSet<string> _errors
Field Value
_formControls
protected HashSet<IFormComponent> _formControls
Field Value
Properties
Errors
The validation errors for this row.
public string[] Errors { get; }
Property Value
- string[]
IsValid
Whether the table row is valid.
public bool IsValid { get; }
Property Value
Model
The model being edited by the form.
public object? Model { get; set; }
Property Value
Methods
Validate()
Checks for data errors within this row.
public void Validate()