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
Gets a list of CalculationOptions available for selection.
public IList<CalculationOption> AvailableCalculationOptions { get; }
Gets a list of the Label items available for selection in SelectedGroupDescription.
public IList<IGroupDescription> AvailableGroupDescriptions { get; }
Gets a lists of object items available for selection in SelectedGroupName.
public IList<object> AvailableGroupNames { get; }
Gets a value that indicates if the SelectedCalculationOption requires selection of base label.
public bool RequiresGroupDescription { get; }
Gets a value that indicates if the SelectedCalculationOption requires selection of base item.
public bool RequiresGroupName { get; }
Gets or sets the selected CalculationOption.
public CalculationOption SelectedCalculationOption { get; set; }
Gets or sets the selected Label used in the setup of some group filters.
public IGroupDescription SelectedGroupDescription { get; set; }
Gets or sets the available base item used in the setup of some group filters.
public object SelectedGroupName { get; set; }
Methods
Attach to the new services.
protected override void AttachToServices()
Overrides:
protected override void OnDataProviderResultsChanged()
Overrides:
Handles the PivotSettings changed.
protected override void OnPivotSettingsChanged()
Overrides:
Retrieve the services from the serviceProvider. You could use the if you do not want the IsAvailable to track your requests.
protected override void RetrieveServices(IServiceProvider 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: