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

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

Definition

Properties

Gets the Top10FilterTypes available for selection in SelectedFilterType.

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

Gets the SortedListSelections available for selection in SelectedSelection.

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

Gets the ValueSourceOption available for selection in SelectedValueSource.

C#
public IList<ValueSourceOption> AvailableValueSources { get; }

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

C#
public int Items { get; set; }

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

C#
public double Percent { get; set; }

Gets or sets the available Top10FilterType.

C#
public object SelectedFilterType { get; set; }

Gets or sets the selected SortedListSelection.

C#
public object SelectedSelection { get; set; }

Gets or sets the selected ValueSourceOption.

C#
public ValueSourceOption SelectedValueSource { get; set; }

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

C#
public double Sum { get; set; }

Methods

Attach to the new services.

C#
protected override void AttachToServices()

Overrides: PivotSettingsViewModel.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)

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