Class
ValueSummarizationViewModel

A view-model that encapsulates the editing of an aggregate function for a Value's Description.

Definition

Namespace:Telerik.Windows.Controls.FieldList.Editing

Assembly:Telerik.Windows.Controls.PivotFieldList.dll

Syntax:

cs-api-definition
public sealed class ValueSummarizationViewModel : PivotSettingsViewModel, INotifyPropertyChanged, IDisposable, IDialogViewModel

Inheritance: objectViewModelBaseDialogViewModelPivotSettingsViewModelValueSummarizationViewModel

Implements: IDialogViewModelIDisposableINotifyPropertyChanged

Inherited Members DialogViewModel.IsWorkingDialogViewModel.RequiresRefreshDialogViewModel.IsAvailableDialogViewModel.OkDialogViewModel.CancelDialogViewModel.RefreshDialogViewModel.CompletedDialogViewModel.CanceledViewModelBase.InvokeOnUIThread(Action)ViewModelBase.Dispose()ViewModelBase.PropertyChanged

Properties

AvailableAggregateFunctions

Gets a list of objects with available items to select for SelectedAggregateFunction.

Declaration

cs-api-definition
public IList<object> AvailableAggregateFunctions { get; }

Property Value

IList<object>

SelectedAggregateFunction

Gets or sets an object used to identify an aggregate function. Available options in AvailableAggregateFunctions.

Declaration

cs-api-definition
public object SelectedAggregateFunction { get; set; }

Property Value

object

Methods

AttachToServices()

Attach to the new services.

Declaration

cs-api-definition
protected override void AttachToServices()

Overrides PivotSettingsViewModel.AttachToServices()

ExecuteOk(object)

Handles the Ok execution.

Declaration

cs-api-definition
protected override void ExecuteOk(object parameter)

Parameters

parameter

object

Overrides DialogViewModel.ExecuteOk(object)

RetrieveServices(IServiceProvider)

Retrieve the services from the serviceProvider. You could use the if you do not want the IsAvailable to track your requests.

Declaration

cs-api-definition
protected override void RetrieveServices(IServiceProvider serviceProvider)

Parameters

serviceProvider

IServiceProvider

The IServiceProvider to retrieve services from. This is a slim wrapper around the that would keep track of if all requested services were available. If a requested service was unavailable the DialogViewModel's IsAvailable would be set to false.

Overrides PivotSettingsViewModel.RetrieveServices(IServiceProvider)