# RadzenDataFilter<TItem> Class

RadzenDataFilter component.

Namespace: [Radzen.Blazor](https://blazor.radzen.com/docs/api/Radzen.Blazor.md)

Assembly: Radzen.Blazor.dll

## Inheritance

- Object
- ComponentBase
- [RadzenComponent](https://blazor.radzen.com/docs/api/Radzen.RadzenComponent.md)
- RadzenDataFilter<TItem>

## Implements

- IComponent
- IHandleEvent
- IHandleAfterRender

## Syntax

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

## Type Parameters

| Name | Description |
|------|-------------|
| TItem | The type of the item. |

## Constructors

| Constructor | Description |
|-------------|-------------|
| `public RadzenDataFilter<TItem>()` | RadzenDataFilter component. |

## Properties

| Property | Type | Description |
|------|------|-------------|
| AddFilterGroupText | `string` | Gets or sets the add filter group text. |
| AddFilterText | `string` | Gets or sets the add filter text. |
| AllowColumnFiltering | `bool` | Gets or sets a value indicating whether the columns can be filtered. |
| AndOperatorText | `string` | Gets or sets the and operator text. |
| ApplyFilterText | `string` | Gets or sets the apply filter text. |
| Auto | `bool` | Gets or sets a value indicating whether this filter is automatic. |
| ClearFilterText | `string` | Gets or sets the clear filter text. |
| ContainsText | `string` | Gets or sets the contains text. |
| CustomText | `string` | Gets or sets the custom filter operator text. |
| Data | `IEnumerable<TItem>` | Gets or sets the data. |
| DoesNotContainText | `string` | Gets or sets the does not contain text. |
| EndsWithText | `string` | Gets or sets the ends with text. |
| EnumFilterSelectText | `string` | Gets or sets the enum filter select text. |
| EqualsText | `string` | Gets or sets the equals text. |
| FilterCaseSensitivity | [`FilterCaseSensitivity`](https://blazor.radzen.com/docs/api/Radzen.FilterCaseSensitivity.md) | Gets or sets the filter case sensitivity. |
| FilterDateFormat | `string` | Gets or sets the filter date format. |
| FilterOperatorAriaLabel | `string` | Gets or sets the aria-label of the filter operator dropdown. |
| FilterText | `string` | Gets or sets the filter text. |
| FilterValueAriaLabel | `string` | Gets or sets the aria-label of the filter value editor. |
| Filters | `IEnumerable<CompositeFilterDescriptor>` | Gets or sets the filters. |
| GreaterThanOrEqualsText | `string` | Gets or sets the greater than or equals text. |
| GreaterThanText | `string` | Gets or sets the greater than text. |
| InText | `string` | Gets or sets the in operator text. |
| IsEmptyText | `string` | Gets or sets the is empty text. |
| IsNotEmptyText | `string` | Gets or sets the is not empty text. |
| IsNotNullText | `string` | Gets or sets the not null text. |
| IsNullText | `string` | Gets or sets the is null text. |
| LessThanOrEqualsText | `string` | Gets or sets the less than or equals text. |
| LessThanText | `string` | Gets or sets the less than text. |
| LogicalFilterOperator | [`LogicalFilterOperator`](https://blazor.radzen.com/docs/api/Radzen.LogicalFilterOperator.md) | Gets or sets the logical filter operator. |
| NotEqualsText | `string` | Gets or sets the not equals text. |
| NotInText | `string` | Gets or sets the not in operator text. |
| OrOperatorText | `string` | Gets or sets the or operator text. |
| Properties | `RenderFragment` | Gets or sets the properties. |
| PropertiesCollection | `IList<RadzenDataFilterProperty<TItem>>` | Gets the properties collection. |
| PropertyAriaLabel | `string` | Gets or sets the aria-label of the filter property dropdown. |
| RemoveFilterText | `string` | Gets or sets the remove filter text. |
| StartsWithText | `string` | Gets or sets the starts with text. |
| UniqueFilters | `bool` | Gets or sets a value indicating whether properties can be reused in the filter. |
| View | `IQueryable<TItem>` | Gets the view. |
| ViewChanged | `EventCallback<IQueryable<TItem>>` | Gets or sets the view changed callback. |

## Methods

| Method | Returns | Description |
|------|---------|-------------|
| `AddFilter(CompositeFilterDescriptor filter)` | `Task` | Add filter. |
| `BuildRenderTree(Rendering.RenderTreeBuilder __builder)` | `void` |  |
| `ClearFilters()` | `Task` | Clear filters. |
| `Filter()` | `Task` | Recreates View using current Filters. |
| `GetComponentCssClass()` | `string` |  |
| `RemoveFilter(CompositeFilterDescriptor filter)` | `Task` | Remove filter. |

## Inherited Members

- From [RadzenComponent](https://blazor.radzen.com/docs/api/Radzen.RadzenComponent.md): AddContextMenu, Attributes, ContextMenu, Culture, CurrentStyle, Debounce, DefaultCulture, DefaultUICulture, Dispose, Element, GetCssClass, GetId, GetIdAttribute, IsJSRuntimeAvailable, JSRuntime, Localize, MouseEnter, MouseLeave, OnAfterRenderAsync, OnBecameInvisible, OnContextMenu, OnInitialized, OnMouseEnter, OnMouseLeave, RaiseContextMenu, RaiseMouseEnter, RaiseMouseLeave, Reference, SetParametersAsync, Style, UICulture, UniqueID, Visible
- From ComponentBase: Assets, AssignedRenderMode, DispatchExceptionAsync, InvokeAsync, OnAfterRender, OnInitializedAsync, OnParametersSet, OnParametersSetAsync, RendererInfo, ShouldRender, StateHasChanged

