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