Class
FieldListViewModel

A class used as ViewModel for setting pivot grouping.

Definition

Namespace:Telerik.WinControls.UI.PivotFieldList

Assembly:Telerik.WinControls.PivotGrid.dll

Syntax:

cs-api-definition
public sealed class FieldListViewModel : ViewModelBase, INotifyPropertyChanged, IDisposable

Inheritance: objectViewModelBaseFieldListViewModel

Implements: IDisposableINotifyPropertyChanged

Inherited Members ViewModelBase.Dispose()ViewModelBase.PropertyChanged

Constructors

FieldListViewModel()

Initializes a new instance of the FieldListViewModel class.

Declaration

cs-api-definition
public FieldListViewModel()

FieldListViewModel(RadPivotFieldList)

Declaration

cs-api-definition
public FieldListViewModel(RadPivotFieldList control)

Parameters

control

RadPivotFieldList

Properties

AggregatesLevel

Gets or sets the position where groups for the aggregates should be placed based on the DataProvider.

Declaration

cs-api-definition
public int AggregatesLevel { get; set; }

Property Value

int

AggregatesPosition

Gets or sets a value indicating where the aggregate groups should be positioned based on the DataProvider.

Declaration

cs-api-definition
public PivotAxis AggregatesPosition { get; set; }

Property Value

PivotAxis

AllowSorting

Gets or sets the AllowSorting property of the associated RadPivotGridElement.

Declaration

cs-api-definition
public bool AllowSorting { get; }

Property Value

bool

ColumnGroupDescriptions

Gets the ColumnGroupDescriptions property of the associated RadPivotGridElement.

Declaration

cs-api-definition
public ColumnGroupDescriptionCollection ColumnGroupDescriptions { get; }

Property Value

ColumnGroupDescriptionCollection

ColumnLabels

Gets a FieldCollection that holds all IFields that are used for column labels.

Declaration

cs-api-definition
public FieldCollection ColumnLabels { get; }

Property Value

FieldCollection

ColumnsSubTotalsPosition

Gets or sets the ColumnsSubTotalsPosition property of the associated RadPivotGridElement.

Declaration

cs-api-definition
public TotalsPos ColumnsSubTotalsPosition { get; }

Property Value

TotalsPos

DataProvider

Gets or sets the underlying IDataProvider.

Declaration

cs-api-definition
public IDataProvider DataProvider { get; set; }

Property Value

IDataProvider

DeferUpdates

Declaration

cs-api-definition
public bool DeferUpdates { get; set; }

Property Value

bool

DialogsFactory

Declaration

cs-api-definition
public PivotGridDialogsFactory DialogsFactory { get; set; }

Property Value

PivotGridDialogsFactory

FieldListControl

Declaration

cs-api-definition
public RadPivotFieldList FieldListControl { get; }

Property Value

RadPivotFieldList

Fields

Gets a FieldCollection that holds a hierarchy of all IField that may participate in pivot grouping.

Declaration

cs-api-definition
public FieldCollection Fields { get; }

Property Value

FieldCollection

Filters

Gets a FieldCollection that holds all IFields that are used for filtering.

Declaration

cs-api-definition
public FieldCollection Filters { get; }

Property Value

FieldCollection

RowGroupDescriptions

Gets the RowGroupDescriptions property of the associated RadPivotGridElement.

Declaration

cs-api-definition
public RowGroupDescriptionCollection RowGroupDescriptions { get; }

Property Value

RowGroupDescriptionCollection

RowLabels

Gets a FieldCollection that holds all IFields that are used for row labels.

Declaration

cs-api-definition
public FieldCollection RowLabels { get; }

Property Value

FieldCollection

RowsSubTotalsPosition

Gets or sets the RowsSubTotalsPosition of the associated RadPivotGridElement.

Declaration

cs-api-definition
public TotalsPos RowsSubTotalsPosition { get; }

Property Value

TotalsPos

Values

Gets a FieldCollection that holds all IFields that are used for aggregation.

Declaration

cs-api-definition
public FieldCollection Values { get; }

Property Value

FieldCollection

Methods

ExecuteUpdate()

Declaration

cs-api-definition
public void ExecuteUpdate()

ExecuteUpdate(bool)

Declaration

cs-api-definition
public void ExecuteUpdate(bool checkDeferUpdates)

Parameters

checkDeferUpdates

bool