Table of Contents

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

HashSet<string>

_formControls

protected HashSet<IFormComponent> _formControls

Field Value

HashSet<IFormComponent>

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

bool

Model

The data to validate for this row.

public virtual object? Model { get; set; }

Property Value

object

Methods

Validate()

Checks this row for any validation errors.

public void Validate()