# RadzenPivotField<TItem> Class

Base component for RadzenPivotDataGrid Rows, Columns and Aggregates.

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

Assembly: Radzen.Blazor.dll

## Inheritance

- Object
- ComponentBase
- RadzenPivotField<TItem>

## Implements

- IComponent
- IHandleEvent
- IHandleAfterRender

## Syntax

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

## Type Parameters

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

## Constructors

| Constructor | Description |
|-------------|-------------|
| `public RadzenPivotField<TItem>()` | Base component for RadzenPivotDataGrid Rows, Columns and Aggregates. |

## Properties

| Property | Type | Description |
|------|------|-------------|
| FilterOperator | [`FilterOperator`](https://blazor.radzen.com/docs/api/Radzen.FilterOperator.md) | Gets or sets the filter operator. |
| FilterPropertyType | `Type` | Gets the filter property type. |
| FilterTemplate | `RenderFragment<RadzenPivotField<TItem>>` | Gets or sets the filter template. |
| FilterValue | `object` | Gets or sets the filter value. |
| FilterValueTemplate | `RenderFragment<RadzenPivotField<TItem>>` | Gets or sets the filter value template. |
| Filterable | `bool` | Gets or sets a value indicating whether this column is filterable. |
| LogicalFilterOperator | [`LogicalFilterOperator`](https://blazor.radzen.com/docs/api/Radzen.LogicalFilterOperator.md) | Gets or sets the logical filter operator. |
| PivotGrid | [`RadzenPivotDataGrid<TItem>`](https://blazor.radzen.com/docs/api/Radzen.Blazor.RadzenPivotDataGrid-1.md) | Gets or sets the parent pivot data grid component. |
| Property | `string` | Gets or sets the property name. |
| SecondFilterOperator | [`FilterOperator`](https://blazor.radzen.com/docs/api/Radzen.FilterOperator.md) | Gets or sets the second filter operator. |
| SecondFilterValue | `object` | Gets or sets the second filter value. |
| SecondFilterValueTemplate | `RenderFragment<RadzenPivotField<TItem>>` | Gets or sets the second filter value template. |
| Selected | `bool` | Gets or sets a value indicating whether this field is initially selected (active) in the pivot grid. When set to false, the field will be available in the picker but not applied on initial load. |
| SortOrder | `SortOrder?` | Gets or sets the sort order. |
| SortOrderSequence | `Nullable`1[[Radzen.SortOrder, Radzen.Blazor, Version=13.1.1.0, Culture=neutral, PublicKeyToken=null]][]` | Gets or sets the sequence of the [SortOrder](https://blazor.radzen.com/docs/api/Radzen.SortOrder.md)s to use when sorting the column interactively. |
| Sortable | `bool` | Gets or sets a value indicating whether this column is sortable. |
| Title | `string` | Gets or sets the title. |
| Type | `Type` | Gets or sets the data type. |

## Methods

| Method | Returns | Description |
|------|---------|-------------|
| `BuildRenderTree(Rendering.RenderTreeBuilder __builder)` | `void` |  |
| `Dispose()` | `void` | Disposes the component and removes it from the parent pivot grid. |
| `GetFilterOperator()` | [`FilterOperator`](https://blazor.radzen.com/docs/api/Radzen.FilterOperator.md) | Gets the current filter operator (internal state). |
| `GetFilterProperty()` | `string` | Gets the filter property name. |
| `GetFilterValue()` | `object` | Gets the current filter value (internal state). |
| `GetLogicalFilterOperator()` | [`LogicalFilterOperator`](https://blazor.radzen.com/docs/api/Radzen.LogicalFilterOperator.md) | Gets the current logical filter operator (internal state). |
| `GetSecondFilterOperator()` | [`FilterOperator`](https://blazor.radzen.com/docs/api/Radzen.FilterOperator.md) | Gets the current second filter operator (internal state). |
| `GetSecondFilterValue()` | `object` | Gets the current second filter value (internal state). |
| `GetSortOrder()` | `SortOrder?` | Gets the current sort order (internal state). |
| `GetTitle()` | `string` | Gets the column title. |
| `HasActiveFilter()` | `bool` | Checks if the field has an active filter. |
| `OnInitialized()` | `void` | Called when initialized. |
| `SetFilterOperator(FilterOperator? value)` | `void` | Sets the internal filter operator. |
| `SetFilterValue(object value, bool isFirst)` | `void` | Sets the internal filter value. |
| `SetLogicalFilterOperator(LogicalFilterOperator value)` | `void` | Sets the internal logical filter operator. |
| `SetParametersAsync(ParameterView parameters)` | `Task` | Set parameters as an asynchronous operation. Parameters: `parameters`: The parameters. Returns: A Task representing the asynchronous operation. |
| `SetSecondFilterOperator(FilterOperator? value)` | `void` | Sets the internal second filter operator. |
| `ShowUpDownForNumericFilter()` | `bool` | Gets value indicating if up and down buttons are displayed in numeric column filter. |

## Inherited Members

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

