# RadzenDataFilterProperty<TItem> Class

RadzenDataFilterProperty component. Must be placed inside a [RadzenDataFilter<T>](https://blazor.radzen.com/docs/api/Radzen.Blazor.RadzenDataFilter-1.md)

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

Assembly: Radzen.Blazor.dll

## Inheritance

- Object
- ComponentBase
- RadzenDataFilterProperty<TItem>

## Implements

- IComponent
- IHandleEvent
- IHandleAfterRender

## Syntax

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

## Type Parameters

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

## Constructors

| Constructor | Description |
|-------------|-------------|
| `public RadzenDataFilterProperty<TItem>()` | RadzenDataFilterProperty component. Must be placed inside a [RadzenDataFilter<T>](https://blazor.radzen.com/docs/api/Radzen.Blazor.RadzenDataFilter-1.md) |

## Properties

| Property | Type | Description |
|------|------|-------------|
| DataFilter | [`RadzenDataFilter<TItem>`](https://blazor.radzen.com/docs/api/Radzen.Blazor.RadzenDataFilter-1.md) | Gets or sets the DataFilter. |
| FilterOperator | [`FilterOperator`](https://blazor.radzen.com/docs/api/Radzen.FilterOperator.md) | Gets or sets the filter operator. |
| FilterOperators | `IEnumerable<FilterOperator>` | Gets or sets the filter operators. |
| FilterProperty | `string` | Gets or sets the filter property name. |
| FilterPropertyType | `Type` | Gets the filter property type. |
| FilterTemplate | `RenderFragment<CompositeFilterDescriptor>` | Gets or sets the filter template. |
| FilterValue | `object` | Gets or sets the filter value. |
| FormatString | `string` | Gets or sets the format string. |
| IsSelected | `bool` | Gets or sets a value indicating whether this property is selected in the filter. |
| Property | `string` | Gets or sets the property name. |
| Title | `string` | Gets or sets the title. |
| Type | `Type` | Gets or sets the data type. |
| Visible | `bool` | Gets or sets a value indicating whether this [RadzenDataGridColumn<T>](https://blazor.radzen.com/docs/api/Radzen.Blazor.RadzenDataGridColumn-1.md) is visible. |

## Methods

| Method | Returns | Description |
|------|---------|-------------|
| `ClearFilters()` | `void` | Sets to default property filter values and operators. |
| `Dispose()` | `void` | Disposes this instance. |
| `GetFilterOperator()` | [`FilterOperator`](https://blazor.radzen.com/docs/api/Radzen.FilterOperator.md) | Get property filter operator. |
| `GetFilterOperators()` | `IEnumerable<FilterOperator>` | Get possible property filter operators. |
| `GetFilterProperty()` | `string` | Gets the filter property. Returns: System.String. |
| `GetFilterValue()` | `object` | Get property filter value. |
| `GetVisible()` | `bool` | Gets if the property is visible or not. Returns: System.Boolean. |
| `OnInitialized()` | `void` | Called when initialized. |
| `SetFilterOperator(FilterOperator? value)` | `void` | Set property filter operator. |
| `SetFilterValue(object value)` | `void` | Set property filter value. |
| `SetParametersAsync(ParameterView parameters)` | `Task` | Set parameters as an asynchronous operation. Parameters: `parameters`: The parameters. Returns: A Task representing the asynchronous operation. |

## Inherited Members

- From ComponentBase: Assets, AssignedRenderMode, BuildRenderTree, DispatchExceptionAsync, InvokeAsync, OnAfterRender, OnAfterRenderAsync, OnInitializedAsync, OnParametersSet, OnParametersSetAsync, RendererInfo, ShouldRender, StateHasChanged

