RadzenDataFilterProperty<TItem> Class

RadzenDataFilterProperty component. Must be placed inside a RadzenDataFilter<T>

Inheritance

Object

ComponentBase

RadzenDataFilterProperty<TItem>

Implements

IComponent

IHandleEvent

IHandleAfterRender

Inherited Members

ComponentBase.BuildRenderTree

ComponentBase.OnInitializedAsync

ComponentBase.OnParametersSet

ComponentBase.OnParametersSetAsync

ComponentBase.StateHasChanged

ComponentBase.ShouldRender

ComponentBase.OnAfterRender

ComponentBase.OnAfterRenderAsync

ComponentBase.InvokeAsync

ComponentBase.DispatchExceptionAsync

ComponentBase.RendererInfo

ComponentBase.Assets

ComponentBase.AssignedRenderMode

Namespace: Radzen.Blazor

Assembly: Radzen.Blazor.dll

Syntax

public class RadzenDataFilterProperty<TItem> : ComponentBase, IComponent, IHandleEvent, IHandleAfterRender

Type Parameters

Name Description
TItemThe type of the DataFilter item.

Constructors

RadzenDataFilterProperty<TItem>link

RadzenDataFilterProperty component. Must be placed inside a RadzenDataFilter<T>

Declaration
public RadzenDataFilterProperty<TItem>()

Properties

DataFilterlink

Gets or sets the DataFilter.

Declaration
public RadzenDataFilter<TItem> DataFilter { get; set; }
Property Value
Type Description
RadzenDataFilter<TItem>Gets or sets the DataFilter.

FilterOperatorlink

Gets or sets the filter operator.

Declaration
public FilterOperator FilterOperator { get; set; }
Property Value
Type Description
FilterOperatorGets or sets the filter operator.

FilterOperatorslink

Gets or sets the filter operators.

Declaration
public IEnumerable<FilterOperator> FilterOperators { get; set; }
Property Value
Type Description
IEnumerable<FilterOperator>Gets or sets the filter operators.

FilterPropertylink

Gets or sets the filter property name.

Declaration
public string FilterProperty { get; set; }
Property Value
Type Description
stringGets or sets the filter property name.

FilterPropertyTypelink

Gets the filter property type.

Declaration
public Type FilterPropertyType { get; }
Property Value
Type Description
TypeGets the filter property type.

FilterTemplatelink

Gets or sets the filter template.

Declaration
public RenderFragment<CompositeFilterDescriptor> FilterTemplate { get; set; }
Property Value
Type Description
RenderFragment<CompositeFilterDescriptor>Gets or sets the filter template.

FilterValuelink

Gets or sets the filter value.

Declaration
public object FilterValue { get; set; }
Property Value
Type Description
objectGets or sets the filter value.

FormatStringlink

Gets or sets the format string.

Declaration
public string FormatString { get; set; }
Property Value
Type Description
stringGets or sets the format string.

IsSelectedlink

Gets or sets a value indicating whether this property is selected in the filter.

Declaration
public bool IsSelected { get; set; }
Property Value
Type Description
boolGets or sets a value indicating whether this property is selected in the filter.

Propertylink

Gets or sets the property name.

Declaration
public string Property { get; set; }
Property Value
Type Description
stringGets or sets the property name.

Titlelink

Gets or sets the title.

Declaration
public string Title { get; set; }
Property Value
Type Description
stringGets or sets the title.

Typelink

Gets or sets the data type.

Declaration
public Type Type { get; set; }
Property Value
Type Description
TypeGets or sets the data type.

Visiblelink

Gets or sets a value indicating whether this RadzenDataGridColumn<T> is visible.

Declaration
public bool Visible { get; set; }
Property Value
Type Description
boolGets or sets a value indicating whether this RadzenDataGridColumn<T> is visible.

Methods

ClearFilterslink

Sets to default property filter values and operators.

Declaration
public void ClearFilters()

Disposelink

Disposes this instance.

Declaration
public void Dispose()

GetFilterOperatorlink

Get property filter operator.

Declaration
public FilterOperator GetFilterOperator()
Returns
Type Description
FilterOperator

GetFilterOperatorslink

Get possible property filter operators.

Declaration
public virtual IEnumerable<FilterOperator> GetFilterOperators()
Returns
Type Description
IEnumerable<FilterOperator>

GetFilterPropertylink

Gets the filter property.

Declaration
public string GetFilterProperty()
Returns
Type Description
stringSystem.String.

GetFilterValuelink

Get property filter value.

Declaration
public object GetFilterValue()
Returns
Type Description
object

GetVisiblelink

Gets if the property is visible or not.

Declaration
public bool GetVisible()
Returns
Type Description
boolSystem.Boolean.

OnInitializedlink

Called when initialized.

Declaration
protected override void OnInitialized()

SetFilterOperatorlink

Set property filter operator.

Declaration
public void SetFilterOperator(FilterOperator? value)
Parameters
Type Name Description
FilterOperator? value

SetFilterValuelink

Set property filter value.

Declaration
public void SetFilterValue(object value)
Parameters
Type Name Description
object value

SetParametersAsynclink

Set parameters as an asynchronous operation.

Declaration
public override Task SetParametersAsync(ParameterView parameters)
Parameters
Type Name Description
ParameterView parameters The parameters.
Returns
Type Description
TaskA Task representing the asynchronous operation.
An error has occurred. This app may no longer respond until reloaded. Reload 🗙