Table of Contents

Interface IRadzenFormComponent

Namespace
Radzen
Assembly
Radzen.Blazor.dll

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

public interface IRadzenFormComponent

Properties

FieldIdentifier

Gets the field identifier.

FieldIdentifier FieldIdentifier { get; }

Property Value

FieldIdentifier

The field identifier.

HasValue

Gets a value indicating whether the component has value.

bool HasValue { get; }

Property Value

bool

true if this instance has value; otherwise, false.

IsBound

Gets a value indicating whether this component is bound.

bool IsBound { get; }

Property Value

bool

true if this component is bound; otherwise, false.

Name

Gets or sets the name of the component.

string Name { get; set; }

Property Value

string

The name.

Methods

FocusAsync()

Sets the focus.

ValueTask FocusAsync()

Returns

ValueTask

GetValue()

Gets the value of the component.

object GetValue()

Returns

object

the value of the component - for example the text of RadzenTextBox.