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