Class FilterField
Defines a filter field for the Filter component.
Inheritance
Namespace: Telerik.Blazor.Components
Assembly: Telerik.Blazor.dll
Syntax
public class FilterField : ComponentBase, IFilterField
Constructors
FilterField()
Declaration
public FilterField()
Fields
_label
Declaration
public string _label
Field Value
System.String
|
Properties
DefaultOperator
Specifies the default filter operator. If unassigned, the default operator will be set based on the data type. See FilterOperator.
Declaration
public Nullable<FilterOperator> DefaultOperator { get; set; }
Property Value
System.Nullable<FilterOperator>
|
Label
Specifies displayed string for the given field.
Declaration
public string Label { get; set; }
Property Value
System.String
|
Name
Specifies the name of the field which will be used within the filter descriptor.
Declaration
public string Name { get; set; }
Property Value
System.String
|
Operators
Specifies the available operators. If not defined, a default list of available operators will be used based on the field type. See FilterListOperator.
Declaration
public List<FilterListOperator> Operators { get; set; }
Property Value
System.Collections.Generic.List<FilterListOperator>
|
Type
Specifies the type of the field for the filtering, based on which an editor will be initialized.
Declaration
public Type Type { get; set; }
Property Value
System.Type
|
ValueTemplate
The filter field value template. Use to override the default rendering of the filter field value.
Declaration
public RenderFragment<FilterFieldValueTemplateContext> ValueTemplate { get; set; }
Property Value
Microsoft.AspNetCore.Components.RenderFragment<FilterFieldValueTemplateContext>
|
Methods
BuildRenderTree(RenderTreeBuilder)
Declaration
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder
__builder
|
Dispose()
Declaration
public void Dispose()
OnInitialized()
Declaration
protected override void OnInitialized()
OnParametersSet()
Declaration
protected override void OnParametersSet()
SetParametersAsync(ParameterView)
Declaration
public override Task SetParametersAsync(ParameterView parameters)
Parameters
Microsoft.AspNetCore.Components.ParameterView
parameters
|
Returns
System.Threading.Tasks.Task
|