RadzenPivotField<TItem> Class

Base component for RadzenPivotDataGrid Rows, Columns and Aggregates.

Inheritance

Object

ComponentBase

RadzenPivotField<TItem>

Implements

IComponent

IHandleEvent

IHandleAfterRender

Inherited Members

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 RadzenPivotField<TItem> : ComponentBase, IComponent, IHandleEvent, IHandleAfterRender

Type Parameters

Name Description
TItemThe type of the PivotDataGrid item.

Constructors

RadzenPivotField<TItem>Link to this section

Base component for RadzenPivotDataGrid Rows, Columns and Aggregates.

Declaration
public RadzenPivotField<TItem>()

Properties

FilterOperatorLink to this section

Gets or sets the filter operator.

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

FilterPropertyTypeLink to this section

Gets the filter property type.

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

FilterTemplateLink to this section

Gets or sets the filter template.

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

FilterValueLink to this section

Gets or sets the filter value.

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

FilterValueTemplateLink to this section

Gets or sets the filter value template.

Declaration
public RenderFragment<RadzenPivotField<TItem>> FilterValueTemplate { get; set; }
Property Value
Type Description
RenderFragment<RadzenPivotField<TItem>>Gets or sets the filter value template.

FilterableLink to this section

Gets or sets a value indicating whether this column is filterable.

Declaration
public bool Filterable { get; set; }
Property Value
Type Description
boolGets or sets a value indicating whether this column is filterable.

LogicalFilterOperatorLink to this section

Gets or sets the logical filter operator.

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

PivotGridLink to this section

Gets or sets the parent pivot data grid component.

Declaration
public RadzenPivotDataGrid<TItem> PivotGrid { get; set; }
Property Value
Type Description
RadzenPivotDataGrid<TItem>Gets or sets the parent pivot data grid component.

PropertyLink to this section

Gets or sets the property name.

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

SecondFilterOperatorLink to this section

Gets or sets the second filter operator.

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

SecondFilterValueLink to this section

Gets or sets the second filter value.

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

SecondFilterValueTemplateLink to this section

Gets or sets the second filter value template.

Declaration
public RenderFragment<RadzenPivotField<TItem>> SecondFilterValueTemplate { get; set; }
Property Value
Type Description
RenderFragment<RadzenPivotField<TItem>>Gets or sets the second filter value template.

SelectedLink to this section

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.

Declaration
public bool Selected { get; set; }
Property Value
Type Description
boolGets 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.

SortOrderLink to this section

Gets or sets the sort order.

Declaration
public SortOrder? SortOrder { get; set; }
Property Value
Type Description
SortOrder?Gets or sets the sort order.

SortOrderSequenceLink to this section

Gets or sets the sequence of the SortOrders to use when sorting the column interactively.

Declaration
public Nullable`1[[Radzen.SortOrder, Blazor, Version=11.1.3.0, Culture=neutral, PublicKeyToken=null]][] SortOrderSequence { get; set; }
Property Value
Type Description
Nullable`1[[Radzen.SortOrder, Radzen.Blazor, Version=11.1.3.0, Culture=neutral, PublicKeyToken=null]][]Gets or sets the sequence of the SortOrders to use when sorting the column interactively.

SortableLink to this section

Gets or sets a value indicating whether this column is sortable.

Declaration
public bool Sortable { get; set; }
Property Value
Type Description
boolGets or sets a value indicating whether this column is sortable.

TitleLink to this section

Gets or sets the title.

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

TypeLink to this section

Gets or sets the data type.

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

Methods

BuildRenderTreeLink to this section

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

DisposeLink to this section

Disposes the component and removes it from the parent pivot grid.

Declaration
public virtual void Dispose()

GetFilterOperatorLink to this section

Gets the current filter operator (internal state).

Declaration
public FilterOperator GetFilterOperator()
Returns
Type Description
FilterOperator

GetFilterPropertyLink to this section

Gets the filter property name.

Declaration
public string GetFilterProperty()
Returns
Type Description
string

GetFilterValueLink to this section

Gets the current filter value (internal state).

Declaration
public object GetFilterValue()
Returns
Type Description
object

GetLogicalFilterOperatorLink to this section

Gets the current logical filter operator (internal state).

Declaration
public LogicalFilterOperator GetLogicalFilterOperator()
Returns
Type Description
LogicalFilterOperator

GetSecondFilterOperatorLink to this section

Gets the current second filter operator (internal state).

Declaration
public FilterOperator GetSecondFilterOperator()
Returns
Type Description
FilterOperator

GetSecondFilterValueLink to this section

Gets the current second filter value (internal state).

Declaration
public object GetSecondFilterValue()
Returns
Type Description
object

GetSortOrderLink to this section

Gets the current sort order (internal state).

Declaration
public SortOrder? GetSortOrder()
Returns
Type Description
SortOrder?

GetTitleLink to this section

Gets the column title.

Declaration
public string GetTitle()
Returns
Type Description
string

HasActiveFilterLink to this section

Checks if the field has an active filter.

Declaration
public bool HasActiveFilter()
Returns
Type Description
bool

OnInitializedLink to this section

Called when initialized.

Declaration
protected override void OnInitialized()

SetFilterOperatorLink to this section

Sets the internal filter operator.

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

SetFilterValueLink to this section

Sets the internal filter value.

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

SetLogicalFilterOperatorLink to this section

Sets the internal logical filter operator.

Declaration
public void SetLogicalFilterOperator(LogicalFilterOperator value)
Parameters
Type Name Description
LogicalFilterOperator value

SetParametersAsyncLink to this section

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.

SetSecondFilterOperatorLink to this section

Sets the internal second filter operator.

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

ShowUpDownForNumericFilterLink to this section

Gets value indicating if up and down buttons are displayed in numeric column filter.

Declaration
public virtual bool ShowUpDownForNumericFilter()
Returns
Type Description
bool
An error has occurred. This app may no longer respond until reloaded. Reload 🗙