ClassValueCalculationsViewModel
A view-model that encapsulates the editing of a TotalFormat for a Value's Description.
Definition
Namespace:Telerik.Windows.Controls.FieldList.Editing
Assembly:Telerik.Windows.Controls.PivotFieldList.dll
Syntax:
public sealed class ValueCalculationsViewModel : PivotResultsViewModel, INotifyPropertyChanged, IDisposable, IDialogViewModel
Inheritance: objectViewModelBaseDialogViewModelPivotSettingsViewModelPivotResultsViewModelValueCalculationsViewModel
Implements:
Inherited Members
Properties
AvailableCalculationOptions
Gets a list of CalculationOptions available for selection.
Declaration
public IList<CalculationOption> AvailableCalculationOptions { get; }
Property Value
AvailableGroupDescriptions
Gets a list of the Label items available for selection in SelectedGroupDescription.
Declaration
public IList<IGroupDescription> AvailableGroupDescriptions { get; }
Property Value
AvailableGroupNames
Gets a lists of object items available for selection in SelectedGroupName.
RequiresGroupDescription
Gets a value that indicates if the SelectedCalculationOption requires selection of base label.
RequiresGroupName
Gets a value that indicates if the SelectedCalculationOption requires selection of base item.
SelectedCalculationOption
Gets or sets the selected CalculationOption.
Declaration
public CalculationOption SelectedCalculationOption { get; set; }
Property Value
SelectedGroupDescription
Gets or sets the selected Label used in the setup of some group filters.
Declaration
public IGroupDescription SelectedGroupDescription { get; set; }
Property Value
SelectedGroupName
Gets or sets the available base item used in the setup of some group filters.
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
parameter
Overrides
OnDataProviderResultsChanged()
Declaration
protected override void OnDataProviderResultsChanged()
Overrides
OnPivotSettingsChanged()
Handles the PivotSettings changed.
Declaration
protected override void OnPivotSettingsChanged()
Overrides
RetrieveServices(IServiceProvider)
Retrieve the services from the serviceProvider. You could use the if you do not want the IsAvailable to track your requests.
Declaration
protected override void RetrieveServices(IServiceProvider serviceProvider)
Parameters
serviceProvider
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