Class DataBoundFormComponent<T>
Class DataBoundFormComponent. Implements the RadzenComponent Implements the IRadzenFormComponent
Inheritance
Inherited Members
Namespace: Radzen
Assembly: Radzen.Blazor.dll
Syntax
public class DataBoundFormComponent<T> : RadzenComponent, IDisposable, IRadzenFormComponent
Type Parameters
Name | Description |
---|---|
T |
Fields
_view
The view
Declaration
protected IQueryable _view
Field Value
Type | Description |
---|---|
IQueryable |
Properties
Change
Gets or sets the change.
Declaration
public EventCallback<object> Change { get; set; }
Property Value
Type | Description |
---|---|
EventCallback<System.Object> | The change. |
CurrentPlaceholder
Gets the current placeholder. Returns empty string if this component is inside a RadzenFormField.
Declaration
protected string CurrentPlaceholder { get; }
Property Value
Type | Description |
---|---|
System.String |
Data
Gets or sets the data.
Declaration
public virtual IEnumerable Data { get; set; }
Property Value
Type | Description |
---|---|
IEnumerable | The data. |
Disabled
Gets or sets a value indicating whether this DataBoundFormComponent<T> is disabled.
Declaration
public bool Disabled { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
EditContext
Gets or sets the edit context.
Declaration
public EditContext EditContext { get; set; }
Property Value
Type | Description |
---|---|
EditContext | The edit context. |
FieldIdentifier
Gets the field identifier.
Declaration
public FieldIdentifier FieldIdentifier { get; }
Property Value
Type | Description |
---|---|
FieldIdentifier | The field identifier. |
FilterCaseSensitivity
Gets or sets the filter case sensitivity.
Declaration
public FilterCaseSensitivity FilterCaseSensitivity { get; set; }
Property Value
Type | Description |
---|---|
FilterCaseSensitivity | The filter case sensitivity. |
FilterOperator
Gets or sets the filter operator.
Declaration
public StringFilterOperator FilterOperator { get; set; }
Property Value
Type | Description |
---|---|
StringFilterOperator | The filter operator. |
Form
Gets or sets the form.
Declaration
public IRadzenForm Form { get; set; }
Property Value
Type | Description |
---|---|
IRadzenForm | The form. |
FormFieldContext
Provides support for RadzenFormField integration.
Declaration
public IFormFieldContext FormFieldContext { get; set; }
Property Value
Type | Description |
---|---|
IFormFieldContext |
HasValue
Gets a value indicating whether this instance has value.
Declaration
public virtual bool HasValue { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
IsBound
Gets a value indicating whether this instance is bound.
Declaration
public bool IsBound { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
LoadData
Gets or sets the load data.
Declaration
public EventCallback<LoadDataArgs> LoadData { get; set; }
Property Value
Type | Description |
---|---|
EventCallback<LoadDataArgs> | The load data. |
Name
Gets or sets the name.
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String | The name. |
Placeholder
Gets or sets the placeholder.
Declaration
public string Placeholder { get; set; }
Property Value
Type | Description |
---|---|
System.String | The placeholder. |
Query
Gets the query.
Declaration
protected virtual IQueryable Query { get; }
Property Value
Type | Description |
---|---|
IQueryable | The query. |
SearchText
Gets or sets the search text
Declaration
public string SearchText { get; set; }
Property Value
Type | Description |
---|---|
System.String |
SearchTextChanged
Gets or sets the search text changed.
Declaration
public EventCallback<string> SearchTextChanged { get; set; }
Property Value
Type | Description |
---|---|
EventCallback<System.String> | The search text changed. |
TabIndex
Gets or sets the index of the tab.
Declaration
public int TabIndex { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The index of the tab. |
TextProperty
Gets or sets the text property.
Declaration
public string TextProperty { get; set; }
Property Value
Type | Description |
---|---|
System.String | The text property. |
Value
Gets or sets the value.
Declaration
public object Value { get; set; }
Property Value
Type | Description |
---|---|
System.Object | The value. |
ValueChanged
Gets or sets the value changed.
Declaration
public EventCallback<T> ValueChanged { get; set; }
Property Value
Type | Description |
---|---|
EventCallback<T> | The value changed. |
ValueExpression
Gets or sets the value expression.
Declaration
public Expression<Func<T>> ValueExpression { get; set; }
Property Value
Type | Description |
---|---|
Expression<Func<T>> | The value expression. |
View
Gets the view.
Declaration
protected virtual IEnumerable View { get; }
Property Value
Type | Description |
---|---|
IEnumerable | The view. |
Methods
Dispose()
Disposes this instance.
Declaration
public override void Dispose()
Overrides
FocusAsync()
Sets the focus.
Declaration
public virtual async ValueTask FocusAsync()
Returns
Type | Description |
---|---|
ValueTask |
GetClassList(String)
Gets the class list.
Declaration
protected ClassList GetClassList(string className)
Parameters
Type | Name | Description |
---|---|---|
System.String | className | Name of the class. |
Returns
Type | Description |
---|---|
Radzen.Blazor.Rendering.ClassList | ClassList. |
GetValue()
Gets the value.
Declaration
public virtual object GetValue()
Returns
Type | Description |
---|---|
System.Object | System.Object. |
OnContextMenu(MouseEventArgs)
Handles the ContextMenu event.
Declaration
public override Task OnContextMenu(MouseEventArgs args)
Parameters
Type | Name | Description |
---|---|---|
MouseEventArgs | args | The |
Returns
Type | Description |
---|---|
Task | Task. |
OnDataChanged()
Called when [data changed].
Declaration
protected virtual async Task OnDataChanged()
Returns
Type | Description |
---|---|
Task |
SetParametersAsync(ParameterView)
Set parameters as an asynchronous operation.
Declaration
public override async Task SetParametersAsync(ParameterView parameters)
Parameters
Type | Name | Description |
---|---|---|
ParameterView | parameters | The parameters. |
Returns
Type | Description |
---|---|
Task | A Task representing the asynchronous operation. |