Class
FieldListViewModel

A class used as ViewModel for setting pivot grouping.

Definition

Namespace:Telerik.Windows.Controls.FieldList

Assembly:Telerik.Windows.Controls.PivotFieldList.dll

Syntax:

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

Inheritance: objectViewModelBaseFieldListViewModel

Implements: IDisposableINotifyPropertyChanged

Inherited Members ViewModelBase.InvokeOnUIThread(Action)ViewModelBase.Dispose()ViewModelBase.PropertyChanged

Constructors

FieldListViewModel()

Initializes a new instance of the FieldListViewModel class.

Declaration

cs-api-definition
public FieldListViewModel()

Properties

AggregatesLevel

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

Declaration

cs-api-definition
[SuppressMessage("Microsoft.Naming", "CA2204:Literals should be spelled correctly", MessageId = "DataProvider", Justification = "Property name.")]
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
[SuppressMessage("Microsoft.Naming", "CA2204:Literals should be spelled correctly", MessageId = "DataProvider", Justification = "Property name.")]
public PivotAxis AggregatesPosition { get; set; }

Property Value

PivotAxis

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

DataProvider

Gets or sets the underlying IDataProvider.

Declaration

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

Property Value

IDataProvider

DeferUpdates

Gets or sets a property that indicates if changes to the grouping settings would trigger computations immediately when invalidated or through the UpdateCommand execute. Based on the DataProvider.

Declaration

cs-api-definition
[SuppressMessage("Microsoft.Naming", "CA2204:Literals should be spelled correctly", MessageId = "DataProvider", Justification = "Class name.")]
[SuppressMessage("Microsoft.Naming", "CA2204:Literals should be spelled correctly", MessageId = "FieldListViewModel's", Justification = "Class name.")]
[SuppressMessage("Microsoft.Naming", "CA2204:Literals should be spelled correctly", MessageId = "DeferUpdates", Justification = "Property name.")]
public bool DeferUpdates { get; set; }

Property Value

bool

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

NoColumnAndDataDescriptions

Gets a boolean value indication whether the column and value descriptions are empty.

Declaration

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

Property Value

bool

NoColumnRowAndDataDescriptions

Gets a boolean value indication whether the column, row and value descriptions are empty.

Declaration

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

Property Value

bool

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

UpdateCommand

Gets an ICommand that could be executed to force an update.

Declaration

cs-api-definition
public ICommand UpdateCommand { get; }

Property Value

ICommand

Values

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

Declaration

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

Property Value

FieldCollection