Class ValueSummarizationViewModel
A view-model that encapsulates the editing of an aggregate function for a Value's Description.
Inheritance
Inherited Members
Namespace: Telerik.Windows.Controls.FieldList.Editing
Assembly: Telerik.Windows.Controls.PivotFieldList.dll
Syntax
public sealed class ValueSummarizationViewModel : PivotSettingsViewModel, INotifyPropertyChanged, IDisposable, IDialogViewModel
Properties
AvailableAggregateFunctions
Gets a list of objects with available items to select for SelectedAggregateFunction.
Declaration
public IList<object> AvailableAggregateFunctions { get; }
Property Value
System.Collections.Generic.IList<System.Object>
|
SelectedAggregateFunction
Gets or sets an object used to identify an aggregate function. Available options in AvailableAggregateFunctions.
Declaration
public object SelectedAggregateFunction { get; set; }
Property Value
System.Object
|
Methods
AttachToServices()
Attach to the new services.
Declaration
protected override void AttachToServices()
Overrides
ExecuteOk(Object)
Handles the Ok execution.
Declaration
protected override void ExecuteOk(object parameter)
Parameters
System.Object
parameter
|
Overrides
RetrieveServices(IServiceProvider)
Retrieve the services from the serviceProvider
. You could use the Telerik.Windows.Controls.FieldList.Editing.DialogViewModel.Context if you do not want the IsAvailable to track your requests.
Declaration
protected override void RetrieveServices(IServiceProvider serviceProvider)
Parameters
System.IServiceProvider
serviceProvider
The System.IServiceProvider to retrieve services from. This is a slim wrapper around the Telerik.Windows.Controls.FieldList.Editing.DialogViewModel.Context 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. |