Class ValueFilterViewModel
A view-model that encapsulates the editing of a ValueGroupFilter for a Label's Description.
Inherited Members
Namespace: Telerik.Windows.Controls.FieldList.Editing
Assembly: Telerik.Windows.Controls.PivotFieldList.dll
Syntax
public sealed class ValueFilterViewModel : PivotSettingsViewModel, INotifyPropertyChanged, IDisposable, IDialogViewModel
Properties
AvailableConditions
Gets a list with ConditionOptions available for selection in SelectedCondition.
Declaration
public IList<ConditionOption> AvailableConditions { get; }
Property Value
System.Collections.Generic.IList<ConditionOption>
|
AvailableValueSources
Gets a list with ValueSourceOptions available for selection in ValueSourceOption.
Declaration
public IList<ValueSourceOption> AvailableValueSources { get; }
Property Value
System.Collections.Generic.IList<ValueSourceOption>
|
From
Gets or sets a lower bound for various conditions.
Declaration
public double From { get; set; }
Property Value
System.Double
|
SelectedCondition
Gets or sets the selected ConditionOption.
Declaration
public ConditionOption SelectedCondition { get; set; }
Property Value
ConditionOption
|
SelectedValueSource
Gets the selected ValueSourceOption.
Declaration
public ValueSourceOption SelectedValueSource { get; set; }
Property Value
ValueSourceOption
|
Than
Gets or sets a base point for various conditions.
Declaration
public double Than { get; set; }
Property Value
System.Double
|
To
Gets or sets an upper bound for various conditions.
Declaration
public double To { get; set; }
Property Value
System.Double
|
Methods
AttachToServices()
Attach to the new services.
Declaration
protected override void AttachToServices()
Overrides
CanExecuteOk(Object)
Checks if the Ok System.Windows.Input.ICommand can be executed.
Declaration
protected override bool CanExecuteOk(object parameter)
Parameters
System.Object
parameter
The parameters. |
Returns
System.Boolean
True if System.Windows.Input.ICommand can be executed. Otherwise - false. |
Overrides
ExecuteOk(Object)
Handles the Ok execution.
Declaration
protected override void ExecuteOk(object parameter)
Parameters
System.Object
parameter
|
Overrides
OnPivotSettingsChanged()
Handles the PivotSettings changed.
Declaration
protected override void OnPivotSettingsChanged()
Overrides
RetrieveServices(IServiceProvider)
Retrieve the services from the serviceProvider
. You could use the Telerik.Windows.Controls.FieldList.Editing.DialogViewModel.Context if you do not want the IsAvailable to track your requests.
Declaration
protected override void RetrieveServices(IServiceProvider serviceProvider)
Parameters
System.IServiceProvider
serviceProvider
The System.IServiceProvider to retrieve services from. This is a slim wrapper around the Telerik.Windows.Controls.FieldList.Editing.DialogViewModel.Context 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. |