Specifies the interface that form components must implement in order to be supported by RadzenTemplateForm<T>.
Namespace: Radzen
Assembly: Radzen.Blazor.dll
public interface IRadzenFormComponentSets the Disabled state of the component
public bool Disabled { get; set; }
| Type | Description |
|---|---|
| bool | Sets the Disabled state of the component |
Gets the field identifier.
public Forms.FieldIdentifier FieldIdentifier { get; set; }
| Type | Description |
|---|---|
| Forms.FieldIdentifier | Gets the field identifier. |
Sets the FormFieldContext of the component
public IFormFieldContext FormFieldContext { get; }
| Type | Description |
|---|---|
| IFormFieldContext | Sets the FormFieldContext of the component |
Gets a value indicating whether the component has value.
public bool HasValue { get; }
| Type | Description |
|---|---|
| bool | Gets a value indicating whether the component has value. |
Gets a value indicating whether this component is bound.
public bool IsBound { get; }
| Type | Description |
|---|---|
| bool | Gets a value indicating whether this component is bound. |
Gets or sets the name of the component.
public string Name { get; set; }
| Type | Description |
|---|---|
| string | Gets or sets the name of the component. |
Sets the Visible state of the component
public bool Visible { get; set; }
| Type | Description |
|---|---|
| bool | Sets the Visible state of the component |
Sets the focus.
public abstract ValueTask FocusAsync()
| Type | Description |
|---|---|
| ValueTask | A ValueTask representing the asynchronous operation. |
Gets the value of the component.
public abstract object GetValue()
| Type | Description |
|---|---|
| object | the value of the component - for example the text of RadzenTextBox. |