Class
Top10FilterViewModel

A view-model that encapsulates the editing of Top10 typed filters for a Label's Description.

Definition

Properties

AvailableFilterTypes

Gets the Top10FilterTypes available for selection in SelectedFilterType.

Declaration

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

Property Value

IList<object>

AvailableSelections

Gets the SortedListSelections available for selection in SelectedSelection.

Declaration

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

Property Value

IList<object>

AvailableValueSources

Gets the ValueSourceOption available for selection in SelectedValueSource.

Declaration

cs-api-definition
public IList<ValueSourceOption> AvailableValueSources { get; }

Property Value

IList<ValueSourceOption>

Items

Gets or sets the number of items to pass in a Items filter.

Declaration

cs-api-definition
public int Items { get; set; }

Property Value

int

Percent

Gets or sets the percent of total value to be aggregated by the passing groups in Percent filter.

Declaration

cs-api-definition
public double Percent { get; set; }

Property Value

double

SelectedFilterType

Gets or sets the available Top10FilterType.

Declaration

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

Property Value

object

SelectedSelection

Gets or sets the selected SortedListSelection.

Declaration

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

Property Value

object

SelectedValueSource

Gets or sets the selected ValueSourceOption.

Declaration

cs-api-definition
public ValueSourceOption SelectedValueSource { get; set; }

Property Value

ValueSourceOption

Sum

Gets or sets the percent of total value to be aggregated by the passing groups in Percent filter.

Declaration

cs-api-definition
public double Sum { get; set; }

Property Value

double

Methods

AttachToServices()

Attach to the new services.

Declaration

cs-api-definition
protected override void AttachToServices()

Overrides PivotSettingsViewModel.AttachToServices()

CanExecuteOk(object)

Checks if the Ok ICommand can be executed.

Declaration

cs-api-definition
protected override bool CanExecuteOk(object parameter)

Parameters

parameter

object

The parameters.

Returns

bool

True if ICommand can be executed. Otherwise - false.

Overrides DialogViewModel.CanExecuteOk(object)

ExecuteOk(object)

Handles the Ok execution.

Declaration

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

Parameters

parameter

object

Overrides DialogViewModel.ExecuteOk(object)

OnPivotSettingsChanged()

Handles the PivotSettings changed.

Declaration

cs-api-definition
protected override void OnPivotSettingsChanged()

Overrides PivotSettingsViewModel.OnPivotSettingsChanged()

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)