Interface IRadzenFormValidator
The interface that a validator component must implement in order to be supported by RadzenTemplateForm<TItem>.
Namespace: Radzen
Assembly: Radzen.Blazor.dll
Syntax
public interface IRadzenFormValidator
Properties
Component
Gets or sets the name of the component which is validated.
Declaration
string Component { get; set; }
Property Value
Type | Description |
---|---|
System.String | The component name. |
IsValid
Returns true if valid.
Declaration
bool IsValid { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
Text
Gets or sets the validation error displayed when invalid.
Declaration
string Text { get; set; }
Property Value
Type | Description |
---|---|
System.String | The text to display when invalid. |