New to Telerik UI for WPFStart a free 30-day trial

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

Definition

Properties

Gets a list of CalculationOptions available for selection.

C#
public IList<CalculationOption> AvailableCalculationOptions { get; }

Gets a list of the Label items available for selection in SelectedGroupDescription.

C#
public IList<IGroupDescription> AvailableGroupDescriptions { get; }

Gets a lists of object items available for selection in SelectedGroupName.

C#
public IList<object> AvailableGroupNames { get; }

Gets a value that indicates if the SelectedCalculationOption requires selection of base label.

C#
public bool RequiresGroupDescription { get; }

Gets a value that indicates if the SelectedCalculationOption requires selection of base item.

C#
public bool RequiresGroupName { get; }

Gets or sets the selected CalculationOption.

C#
public CalculationOption SelectedCalculationOption { get; set; }

Gets or sets the selected Label used in the setup of some group filters.

C#
public IGroupDescription SelectedGroupDescription { get; set; }

Gets or sets the available base item used in the setup of some group filters.

C#
public object SelectedGroupName { get; set; }

Methods

Attach to the new services.

C#
protected override void AttachToServices()

Overrides: PivotResultsViewModel.AttachToServices()

Checks if the Ok ICommand can be executed.

C#
protected override bool CanExecuteOk(object parameter)
Parameters:parameterobject

The parameters.

Returns:

bool

True if ICommand can be executed. Otherwise - false.

Overrides: DialogViewModel.CanExecuteOk(object)

Handles the Ok execution.

C#
protected override void ExecuteOk(object parameter)
Parameters:parameterobject

Overrides: DialogViewModel.ExecuteOk(object)

C#
protected override void OnDataProviderResultsChanged()

Overrides: PivotResultsViewModel.OnDataProviderResultsChanged()

Handles the PivotSettings changed.

C#
protected override void OnPivotSettingsChanged()

Overrides: PivotSettingsViewModel.OnPivotSettingsChanged()

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

C#
protected override void RetrieveServices(IServiceProvider serviceProvider)
Parameters:serviceProviderIServiceProvider

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: PivotResultsViewModel.RetrieveServices(IServiceProvider)