Class
ValidationSettings

Definition

Constructors

ValidationSettings()

Declaration

cs-api-definition
protected ValidationSettings()

Properties

Enabled

Specifies whether the built-in validation of the component is enabled or not.

Declaration

cs-api-definition
[Parameter]
public bool Enabled { get; set; }

Property Value

bool

ValidatorTemplate

Defines a custom validator to be used instead of the default DataAnnotationsValidator.

Declaration

cs-api-definition
[Parameter]
public RenderFragment ValidatorTemplate { get; set; }

Property Value

RenderFragment

Methods

OnInitializedAsync()

Declaration

cs-api-definition
protected override Task OnInitializedAsync()

Returns

Task

Overrides ComponentBase.OnInitializedAsync()