RadzenDataFilter<TItem> Class

RadzenDataFilter component.

Inheritance

Object

ComponentBase

RadzenComponent

RadzenDataFilter<TItem>

Implements

IComponent

IHandleEvent

IHandleAfterRender

Namespace: Radzen.Blazor

Assembly: Radzen.Blazor.dll

Syntax

public class RadzenDataFilter<TItem> : RadzenComponent, IComponent, IHandleEvent, IHandleAfterRender

Type Parameters

Name Description
TItemThe type of the item.

Constructors

RadzenDataFilter<TItem>link

RadzenDataFilter component.

Declaration
public RadzenDataFilter<TItem>()

Properties

AddFilterGroupTextlink

Gets or sets the add filter group text.

Declaration
public string AddFilterGroupText { get; set; }
Property Value
Type Description
stringGets or sets the add filter group text.

AddFilterTextlink

Gets or sets the add filter text.

Declaration
public string AddFilterText { get; set; }
Property Value
Type Description
stringGets or sets the add filter text.

AllowColumnFilteringlink

Gets or sets a value indicating whether the columns can be filtered.

Declaration
public bool AllowColumnFiltering { get; set; }
Property Value
Type Description
boolGets or sets a value indicating whether the columns can be filtered.

AndOperatorTextlink

Gets or sets the and operator text.

Declaration
public string AndOperatorText { get; set; }
Property Value
Type Description
stringGets or sets the and operator text.

ApplyFilterTextlink

Gets or sets the apply filter text.

Declaration
public string ApplyFilterText { get; set; }
Property Value
Type Description
stringGets or sets the apply filter text.

Autolink

Gets or sets a value indicating whether this filter is automatic.

Declaration
public bool Auto { get; set; }
Property Value
Type Description
boolGets or sets a value indicating whether this filter is automatic.

ClearFilterTextlink

Gets or sets the clear filter text.

Declaration
public string ClearFilterText { get; set; }
Property Value
Type Description
stringGets or sets the clear filter text.

ContainsTextlink

Gets or sets the contains text.

Declaration
public string ContainsText { get; set; }
Property Value
Type Description
stringGets or sets the contains text.

CustomTextlink

Gets or sets the custom filter operator text.

Declaration
public string CustomText { get; set; }
Property Value
Type Description
stringGets or sets the custom filter operator text.

Datalink

Gets or sets the data.

Declaration
public IEnumerable<TItem> Data { get; set; }
Property Value
Type Description
IEnumerable<TItem>Gets or sets the data.

DoesNotContainTextlink

Gets or sets the does not contain text.

Declaration
public string DoesNotContainText { get; set; }
Property Value
Type Description
stringGets or sets the does not contain text.

EndsWithTextlink

Gets or sets the ends with text.

Declaration
public string EndsWithText { get; set; }
Property Value
Type Description
stringGets or sets the ends with text.

EnumFilterSelectTextlink

Gets or sets the enum filter select text.

Declaration
public string EnumFilterSelectText { get; set; }
Property Value
Type Description
stringGets or sets the enum filter select text.

EqualsTextlink

Gets or sets the equals text.

Declaration
public string EqualsText { get; set; }
Property Value
Type Description
stringGets or sets the equals text.

FilterCaseSensitivitylink

Gets or sets the filter case sensitivity.

Declaration
public FilterCaseSensitivity FilterCaseSensitivity { get; set; }
Property Value
Type Description
FilterCaseSensitivityGets or sets the filter case sensitivity.

FilterDateFormatlink

Gets or sets the filter date format.

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

FilterTextlink

Gets or sets the filter text.

Declaration
public string FilterText { get; set; }
Property Value
Type Description
stringGets or sets the filter text.

Filterslink

Gets or sets the filters.

Declaration
public IEnumerable<CompositeFilterDescriptor> Filters { get; set; }
Property Value
Type Description
IEnumerable<CompositeFilterDescriptor>Gets or sets the filters.

GreaterThanOrEqualsTextlink

Gets or sets the greater than or equals text.

Declaration
public string GreaterThanOrEqualsText { get; set; }
Property Value
Type Description
stringGets or sets the greater than or equals text.

GreaterThanTextlink

Gets or sets the greater than text.

Declaration
public string GreaterThanText { get; set; }
Property Value
Type Description
stringGets or sets the greater than text.

InTextlink

Gets or sets the in operator text.

Declaration
public string InText { get; set; }
Property Value
Type Description
stringGets or sets the in operator text.

IsEmptyTextlink

Gets or sets the is empty text.

Declaration
public string IsEmptyText { get; set; }
Property Value
Type Description
stringGets or sets the is empty text.

IsNotEmptyTextlink

Gets or sets the is not empty text.

Declaration
public string IsNotEmptyText { get; set; }
Property Value
Type Description
stringGets or sets the is not empty text.

IsNotNullTextlink

Gets or sets the not null text.

Declaration
public string IsNotNullText { get; set; }
Property Value
Type Description
stringGets or sets the not null text.

IsNullTextlink

Gets or sets the is null text.

Declaration
public string IsNullText { get; set; }
Property Value
Type Description
stringGets or sets the is null text.

LessThanOrEqualsTextlink

Gets or sets the less than or equals text.

Declaration
public string LessThanOrEqualsText { get; set; }
Property Value
Type Description
stringGets or sets the less than or equals text.

LessThanTextlink

Gets or sets the less than text.

Declaration
public string LessThanText { get; set; }
Property Value
Type Description
stringGets or sets the less than text.

LogicalFilterOperatorlink

Gets or sets the logical filter operator.

Declaration
public LogicalFilterOperator LogicalFilterOperator { get; set; }
Property Value
Type Description
LogicalFilterOperatorGets or sets the logical filter operator.

NotEqualsTextlink

Gets or sets the not equals text.

Declaration
public string NotEqualsText { get; set; }
Property Value
Type Description
stringGets or sets the not equals text.

NotInTextlink

Gets or sets the not in operator text.

Declaration
public string NotInText { get; set; }
Property Value
Type Description
stringGets or sets the not in operator text.

OrOperatorTextlink

Gets or sets the or operator text.

Declaration
public string OrOperatorText { get; set; }
Property Value
Type Description
stringGets or sets the or operator text.

Propertieslink

Gets or sets the properties.

Declaration
public RenderFragment Properties { get; set; }
Property Value
Type Description
RenderFragmentGets or sets the properties.

PropertiesCollectionlink

Gets the properties collection.

Declaration
public IList<RadzenDataFilterProperty<TItem>> PropertiesCollection { get; }
Property Value
Type Description
IList<RadzenDataFilterProperty<TItem>>Gets the properties collection.

RemoveFilterTextlink

Gets or sets the remove filter text.

Declaration
public string RemoveFilterText { get; set; }
Property Value
Type Description
stringGets or sets the remove filter text.

StartsWithTextlink

Gets or sets the starts with text.

Declaration
public string StartsWithText { get; set; }
Property Value
Type Description
stringGets or sets the starts with text.

UniqueFilterslink

Gets or sets a value indicating whether properties can be reused in the filter.

Declaration
public bool UniqueFilters { get; set; }
Property Value
Type Description
boolGets or sets a value indicating whether properties can be reused in the filter.

Viewlink

Gets the view.

Declaration
public IQueryable<TItem> View { get; }
Property Value
Type Description
IQueryable<TItem>Gets the view.

ViewChangedlink

Gets or sets the view changed callback.

Declaration
public EventCallback<IQueryable<TItem>> ViewChanged { get; set; }
Property Value
Type Description
EventCallback<IQueryable<TItem>>Gets or sets the view changed callback.

Methods

AddFilterlink

Add filter.

Declaration
public Task AddFilter(CompositeFilterDescriptor filter)
Parameters
Type Name Description
CompositeFilterDescriptor filter
Returns
Type Description
Task

BuildRenderTreelink

Declaration
protected override void BuildRenderTree(Rendering.RenderTreeBuilder __builder)
Parameters
Type Name Description
Rendering.RenderTreeBuilder __builder

ClearFilterslink

Clear filters.

Declaration
public Task ClearFilters()
Returns
Type Description
Task

Filterlink

Recreates View using current Filters.

Declaration
public Task Filter()
Returns
Type Description
Task

GetComponentCssClasslink

Declaration
protected override string GetComponentCssClass()
Returns
Type Description
string

RemoveFilterlink

Remove filter.

Declaration
public Task RemoveFilter(CompositeFilterDescriptor filter)
Parameters
Type Name Description
CompositeFilterDescriptor filter
Returns
Type Description
Task
An error has occurred. This app may no longer respond until reloaded. Reload 🗙