DataBoundFormComponent<T> Class

Class DataBoundFormComponent. Implements the RadzenComponent Implements the IRadzenFormComponent

Inheritance

Object

ComponentBase

RadzenComponent

DataBoundFormComponent<T>

Implements

IComponent

IHandleEvent

IHandleAfterRender

IRadzenFormComponent

Namespace: Radzen

Assembly: Radzen.Blazor.dll

Syntax

public class DataBoundFormComponent<T> : RadzenComponent, IComponent, IHandleEvent, IHandleAfterRender, IRadzenFormComponent

Type Parameters

Name Description
T

Constructors

DataBoundFormComponent<T>link

Class DataBoundFormComponent. Implements the RadzenComponent Implements the IRadzenFormComponent

Declaration
public DataBoundFormComponent<T>()

Fields

_viewlink

The view

Declaration
protected IQueryable _view

Properties

Changelink

Gets or sets the change.

Declaration
public EventCallback<object> Change { get; set; }
Property Value
Type Description
EventCallback<object>Gets or sets the change.

CurrentPlaceholderlink

Gets the current placeholder. Returns empty string if this component is inside a RadzenFormField.

Declaration
protected string CurrentPlaceholder { get; }
Property Value
Type Description
stringGets the current placeholder. Returns empty string if this component is inside a RadzenFormField.

Datalink

Gets or sets the data.

Declaration
public Collections.IEnumerable Data { get; set; }
Property Value
Type Description
Collections.IEnumerableGets or sets the data.

Disabledlink

Gets or sets a value indicating whether this DataBoundFormComponent<T> is disabled.

Declaration
public bool Disabled { get; set; }
Property Value
Type Description
boolGets or sets a value indicating whether this DataBoundFormComponent<T> is disabled.

EditContextlink

Gets or sets the edit context.

Declaration
public Forms.EditContext EditContext { get; set; }
Property Value
Type Description
Forms.EditContextGets or sets the edit context.

FieldIdentifierlink

Gets the field identifier.

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

FilterCaseSensitivitylink

Gets or sets the filter case sensitivity.

Declaration
public FilterCaseSensitivity FilterCaseSensitivity { get; set; }
Property Value
Type Description
FilterCaseSensitivityGets or sets the filter case sensitivity.

FilterOperatorlink

Gets or sets the filter operator.

Declaration
public StringFilterOperator FilterOperator { get; set; }
Property Value
Type Description
StringFilterOperatorGets or sets the filter operator.

Formlink

Gets or sets the form.

Declaration
public IRadzenForm Form { get; set; }
Property Value
Type Description
IRadzenFormGets or sets the form.

FormFieldContextlink

Provides support for RadzenFormField integration.

Declaration
public IFormFieldContext FormFieldContext { get; set; }
Property Value
Type Description
IFormFieldContextProvides support for RadzenFormField integration.

HasValuelink

Gets a value indicating whether this instance has value.

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

IsBoundlink

Gets a value indicating whether this instance is bound.

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

LoadDatalink

Gets or sets the load data.

Declaration
public EventCallback<LoadDataArgs> LoadData { get; set; }
Property Value
Type Description
EventCallback<LoadDataArgs>Gets or sets the load data.

Namelink

Gets or sets the name.

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

Placeholderlink

Gets or sets the placeholder.

Declaration
public string Placeholder { get; set; }
Property Value
Type Description
stringGets or sets the placeholder.

Querylink

Gets the query.

Declaration
protected IQueryable Query { get; }
Property Value
Type Description
IQueryableGets the query.

SearchTextlink

Gets or sets the search text

Declaration
public string SearchText { get; set; }
Property Value
Type Description
stringGets or sets the search text

SearchTextChangedlink

Gets or sets the search text changed.

Declaration
public EventCallback<string> SearchTextChanged { get; set; }
Property Value
Type Description
EventCallback<string>Gets or sets the search text changed.

TabIndexlink

Gets or sets the index of the tab.

Declaration
public int TabIndex { get; set; }
Property Value
Type Description
intGets or sets the index of the tab.

TextPropertylink

Gets or sets the text property.

Declaration
public string TextProperty { get; set; }
Property Value
Type Description
stringGets or sets the text property.

Valuelink

Gets or sets the value.

Declaration
public T Value { get; set; }
Property Value
Type Description
TGets or sets the value.

ValueChangedlink

Gets or sets the value changed.

Declaration
public EventCallback<T> ValueChanged { get; set; }
Property Value
Type Description
EventCallback<T>Gets or sets the value changed.

ValueExpressionlink

Gets or sets the value expression.

Declaration
public Expressions.Expression<Func<T>> ValueExpression { get; set; }
Property Value
Type Description
Expressions.Expression<Func<T>>Gets or sets the value expression.

Viewlink

Gets the view.

Declaration
protected Collections.IEnumerable View { get; }
Property Value
Type Description
Collections.IEnumerableGets the view.

Methods

Disposelink

Disposes this instance.

Declaration
public override void Dispose()

FocusAsynclink

Declaration
public virtual ValueTask FocusAsync()
Returns
Type Description
ValueTask

GetClassListlink

Gets the class list.

Declaration
protected Rendering.ClassList GetClassList(string className)
Parameters
Type Name Description
string className Name of the class.
Returns
Type Description
Rendering.ClassListClassList.

GetValuelink

Gets the value.

Declaration
public virtual object GetValue()
Returns
Type Description
objectSystem.Object.

OnContextMenulink

Handles the ContextMenu event.

Declaration
public override Task OnContextMenu(MouseEventArgs args)
Parameters
Type Name Description
MouseEventArgs args The MouseEventArgs instance containing the event data.
Returns
Type Description
TaskTask.

OnDataChangedlink

Called when [data changed].

Declaration
protected virtual Task OnDataChanged()
Returns
Type Description
Task

SetParametersAsynclink

Set parameters as an asynchronous operation.

Declaration
public override Task SetParametersAsync(ParameterView parameters)
Parameters
Type Name Description
ParameterView parameters The parameters.
Returns
Type Description
TaskA Task representing the asynchronous operation.
An error has occurred. This app may no longer respond until reloaded. Reload 🗙