Interface IRadzenFormComponent
Specifies the interface that form components must implement in order to be supported by RadzenTemplateForm<TItem>.
Namespace: Radzen
Assembly: Radzen.Blazor.dll
Syntax
public interface IRadzenFormComponent
Properties
FieldIdentifier
Gets the field identifier.
Declaration
FieldIdentifier FieldIdentifier { get; }
Property Value
Type | Description |
---|---|
FieldIdentifier | The field identifier. |
HasValue
Gets a value indicating whether the component has value.
Declaration
bool HasValue { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
IsBound
Gets a value indicating whether this component is bound.
Declaration
bool IsBound { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
Name
Gets or sets the name of the component.
Declaration
string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String | The name. |
Methods
FocusAsync()
Sets the focus.
Declaration
ValueTask FocusAsync()
Returns
Type | Description |
---|---|
ValueTask |
GetValue()
Gets the value of the component.
Declaration
object GetValue()
Returns
Type | Description |
---|---|
System.Object | the value of the component - for example the text of RadzenTextBox. |