Class
ValueFilterViewModel

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

Definition

Properties

AvailableConditions

Gets a list with ConditionOptions available for selection in SelectedCondition.

Declaration

cs-api-definition
public IList<ConditionOption> AvailableConditions { get; }

Property Value

IList<ConditionOption>

AvailableValueSources

Gets a list with ValueSourceOptions available for selection in ValueSourceOption.

Declaration

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

Property Value

IList<ValueSourceOption>

From

Gets or sets a lower bound for various conditions.

Declaration

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

Property Value

double

SelectedCondition

Gets or sets the selected ConditionOption.

Declaration

cs-api-definition
public ConditionOption SelectedCondition { get; set; }

Property Value

ConditionOption

SelectedValueSource

Gets the selected ValueSourceOption.

Declaration

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

Property Value

ValueSourceOption

Than

Gets or sets a base point for various conditions.

Declaration

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

Property Value

double

To

Gets or sets an upper bound for various conditions.

Declaration

cs-api-definition
public double To { 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)