Class DataBoundFormComponent. Implements the RadzenComponent Implements the IRadzenFormComponent
RadzenComponent.GetComponentCssClass
RadzenComponent.OnAfterRenderAsync
RadzenComponent.RaiseContextMenu
RadzenComponent.RaiseMouseEnter
RadzenComponent.AddContextMenu
RadzenComponent.RaiseMouseLeave
RadzenComponent.OnBecameInvisible
RadzenComponent.DefaultCulture
RadzenComponent.DefaultUICulture
RadzenComponent.IsJSRuntimeAvailable
ComponentBase.BuildRenderTree
ComponentBase.OnInitializedAsync
ComponentBase.OnParametersSet
ComponentBase.OnParametersSetAsync
ComponentBase.StateHasChanged
ComponentBase.ShouldRender
ComponentBase.OnAfterRender
ComponentBase.InvokeAsync
ComponentBase.DispatchExceptionAsync
ComponentBase.RendererInfo
ComponentBase.Assets
ComponentBase.AssignedRenderMode
Namespace: Radzen
Assembly: Radzen.Blazor.dll
public class DataBoundFormComponent<T> : RadzenComponent, IComponent, IHandleEvent, IHandleAfterRender, IRadzenFormComponent| Name | Description |
|---|---|
| T |
Class DataBoundFormComponent. Implements the RadzenComponent Implements the IRadzenFormComponent
public DataBoundFormComponent<T>()Gets or sets the change.
public EventCallback<object> Change { get; set; }
| Type | Description |
|---|---|
| EventCallback<object> | Gets or sets the change. |
Gets the current placeholder. Returns empty string if this component is inside a RadzenFormField.
protected string CurrentPlaceholder { get; }
| Type | Description |
|---|---|
| string | Gets the current placeholder. Returns empty string if this component is inside a RadzenFormField. |
Gets or sets the data.
public Collections.IEnumerable Data { get; set; }
| Type | Description |
|---|---|
| Collections.IEnumerable | Gets or sets the data. |
Gets or sets a value indicating whether this DataBoundFormComponent<T> is disabled.
public bool Disabled { get; set; }
| Type | Description |
|---|---|
| bool | Gets or sets a value indicating whether this DataBoundFormComponent<T> is disabled. |
Gets or sets the edit context.
public Forms.EditContext EditContext { get; set; }
| Type | Description |
|---|---|
| Forms.EditContext | Gets or sets the edit context. |
Gets the field identifier.
public Forms.FieldIdentifier FieldIdentifier { get; set; }
| Type | Description |
|---|---|
| Forms.FieldIdentifier | Gets the field identifier. |
Gets or sets the filter case sensitivity.
public FilterCaseSensitivity FilterCaseSensitivity { get; set; }
| Type | Description |
|---|---|
| FilterCaseSensitivity | Gets or sets the filter case sensitivity. |
Gets or sets the filter operator.
public StringFilterOperator FilterOperator { get; set; }
| Type | Description |
|---|---|
| StringFilterOperator | Gets or sets the filter operator. |
Gets or sets the form.
public IRadzenForm Form { get; set; }
| Type | Description |
|---|---|
| IRadzenForm | Gets or sets the form. |
Provides support for RadzenFormField integration.
public IFormFieldContext FormFieldContext { get; set; }
| Type | Description |
|---|---|
| IFormFieldContext | Provides support for RadzenFormField integration. |
Gets a value indicating whether this instance has value.
public bool HasValue { get; }
| Type | Description |
|---|---|
| bool | Gets a value indicating whether this instance has value. |
Gets a value indicating whether this instance is bound.
public bool IsBound { get; }
| Type | Description |
|---|---|
| bool | Gets a value indicating whether this instance is bound. |
Gets or sets the load data.
public EventCallback<LoadDataArgs> LoadData { get; set; }
| Type | Description |
|---|---|
| EventCallback<LoadDataArgs> | Gets or sets the load data. |
Gets or sets the name.
public string Name { get; set; }
| Type | Description |
|---|---|
| string | Gets or sets the name. |
Gets or sets the placeholder.
public string Placeholder { get; set; }
| Type | Description |
|---|---|
| string | Gets or sets the placeholder. |
Gets the query.
protected IQueryable Query { get; }
| Type | Description |
|---|---|
| IQueryable | Gets the query. |
Gets or sets the search text
public string SearchText { get; set; }
| Type | Description |
|---|---|
| string | Gets or sets the search text |
Gets or sets the search text changed.
public EventCallback<string> SearchTextChanged { get; set; }
| Type | Description |
|---|---|
| EventCallback<string> | Gets or sets the search text changed. |
Gets or sets the index of the tab.
public int TabIndex { get; set; }
| Type | Description |
|---|---|
| int | Gets or sets the index of the tab. |
Gets or sets the text property.
public string TextProperty { get; set; }
| Type | Description |
|---|---|
| string | Gets or sets the text property. |
Gets or sets the value.
public T Value { get; set; }
| Type | Description |
|---|---|
| T | Gets or sets the value. |
Gets or sets the value changed.
public EventCallback<T> ValueChanged { get; set; }
| Type | Description |
|---|---|
| EventCallback<T> | Gets or sets the value changed. |
Gets or sets the value expression.
public Expressions.Expression<Func<T>> ValueExpression { get; set; }
| Type | Description |
|---|---|
| Expressions.Expression<Func<T>> | Gets or sets the value expression. |
Gets the view.
protected Collections.IEnumerable View { get; }
| Type | Description |
|---|---|
| Collections.IEnumerable | Gets the view. |
public virtual ValueTask FocusAsync()
| Type | Description |
|---|---|
| ValueTask |
Gets the class list.
protected Rendering.ClassList GetClassList(string className)
| Type | Name | Description |
|---|---|---|
| string | className | Name of the class. |
| Type | Description |
|---|---|
| Rendering.ClassList | ClassList. |
Gets the value.
public virtual object GetValue()
| Type | Description |
|---|---|
| object | System.Object. |
Notifies the EditContext that the field has changed while validators observe the specified value. The stored value is restored afterwards so that two-way binding parameter re-flow keeps working as expected.
protected void NotifyFieldChanged(T value)
| Type | Name | Description |
|---|---|---|
| T | value | The value validators should observe during the notification. |
Handles the ContextMenu event.
public override Task OnContextMenu(MouseEventArgs args)
| Type | Name | Description |
|---|---|---|
| MouseEventArgs | args | The MouseEventArgs instance containing the event data. |
| Type | Description |
|---|---|
| Task | Task. |
Called when [data changed].
protected virtual Task OnDataChanged()
| Type | Description |
|---|---|
| Task |
Set parameters as an asynchronous operation.
public override Task SetParametersAsync(ParameterView parameters)
| Type | Name | Description |
|---|---|---|
| ParameterView | parameters | The parameters. |
| Type | Description |
|---|---|
| Task | A Task representing the asynchronous operation. |