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