IRadzenFormComponent Interface

Specifies the interface that form components must implement in order to be supported by RadzenTemplateForm<T>.

Namespace: Radzen

Assembly: Radzen.Blazor.dll

Syntax

public interface IRadzenFormComponent

Properties

Disabledlink

Sets the Disabled state of the component

Declaration
public bool Disabled { get; set; }
Property Value
Type Description
boolSets the Disabled state of the component

FieldIdentifierlink

Gets the field identifier.

Declaration
public Forms.FieldIdentifier FieldIdentifier { get; set; }
Property Value
Type Description
Forms.FieldIdentifierGets the field identifier.

FormFieldContextlink

Sets the FormFieldContext of the component

Declaration
public IFormFieldContext FormFieldContext { get; }
Property Value
Type Description
IFormFieldContextSets the FormFieldContext of the component

HasValuelink

Gets a value indicating whether the component has value.

Declaration
public bool HasValue { get; }
Property Value
Type Description
boolGets a value indicating whether the component has value.

IsBoundlink

Gets a value indicating whether this component is bound.

Declaration
public bool IsBound { get; }
Property Value
Type Description
boolGets a value indicating whether this component is bound.

Namelink

Gets or sets the name of the component.

Declaration
public string Name { get; set; }
Property Value
Type Description
stringGets or sets the name of the component.

Visiblelink

Sets the Visible state of the component

Declaration
public bool Visible { get; set; }
Property Value
Type Description
boolSets the Visible state of the component

Methods

FocusAsynclink

Sets the focus.

Declaration
public abstract ValueTask FocusAsync()
Returns
Type Description
ValueTaskA ValueTask representing the asynchronous operation.

GetValuelink

Gets the value of the component.

Declaration
public abstract object GetValue()
Returns
Type Description
objectthe value of the component - for example the text of RadzenTextBox.
In This Article
An error has occurred. This app may no longer respond until reloaded. Reload 🗙