New to Telerik UI for WinFormsStart a free 30-day trial

A class used as ViewModel for setting pivot grouping.

Definition

Namespace:Telerik.WinControls.UI.PivotFieldList

Assembly:Telerik.WinControls.PivotGrid.dll

Syntax:

C#
public sealed class FieldListViewModel : ViewModelBase, INotifyPropertyChanged, IDisposable

Inheritance: objectViewModelBaseFieldListViewModel

Implements: IDisposableINotifyPropertyChanged

Inherited Members ViewModelBase.Dispose()ViewModelBase.PropertyChanged

Constructors

Initializes a new instance of the FieldListViewModel class.

C#
public FieldListViewModel()
C#
public FieldListViewModel(RadPivotFieldList control)
Parameters:controlRadPivotFieldList

Properties

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

C#
public int AggregatesLevel { get; set; }

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

C#
public PivotAxis AggregatesPosition { get; set; }

Gets or sets the AllowSorting property of the associated RadPivotGridElement.

C#
public bool AllowSorting { get; }

Gets the ColumnGroupDescriptions property of the associated RadPivotGridElement.

C#
public ColumnGroupDescriptionCollection ColumnGroupDescriptions { get; }

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

C#
public FieldCollection ColumnLabels { get; }

Gets or sets the ColumnsSubTotalsPosition property of the associated RadPivotGridElement.

C#
public TotalsPos ColumnsSubTotalsPosition { get; }

Gets or sets the underlying IDataProvider.

C#
public IDataProvider DataProvider { get; set; }
C#
public bool DeferUpdates { get; set; }

DialogsFactory

PivotGridDialogsFactory

C#
public PivotGridDialogsFactory DialogsFactory { get; set; }
C#
public RadPivotFieldList FieldListControl { get; }

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

C#
public FieldCollection Fields { get; }

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

C#
public FieldCollection Filters { get; }

Gets the RowGroupDescriptions property of the associated RadPivotGridElement.

C#
public RowGroupDescriptionCollection RowGroupDescriptions { get; }

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

C#
public FieldCollection RowLabels { get; }

Gets or sets the RowsSubTotalsPosition of the associated RadPivotGridElement.

C#
public TotalsPos RowsSubTotalsPosition { get; }

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

C#
public FieldCollection Values { get; }

Methods

C#
public void ExecuteUpdate()
C#
public void ExecuteUpdate(bool checkDeferUpdates)
Parameters:checkDeferUpdatesbool