Class Top10FilterViewModel
A view-model that encapsulates the editing of Top10 typed filters for a Label's Description.
Inherited Members
Namespace: Telerik.Windows.Controls.FieldList.Editing
Assembly: Telerik.Windows.Controls.PivotFieldList.dll
Syntax
public sealed class Top10FilterViewModel : PivotSettingsViewModel, INotifyPropertyChanged, IDisposable, IDialogViewModel
Properties
AvailableFilterTypes
Gets the Telerik.Windows.Controls.FieldList.Editing.Top10FilterTypes available for selection in SelectedFilterType.
Declaration
public IList<object> AvailableFilterTypes { get; }
Property Value
System.Collections.Generic.IList<System.Object>
|
AvailableSelections
Gets the SortedListSelections available for selection in SelectedSelection.
Declaration
public IList<object> AvailableSelections { get; }
Property Value
System.Collections.Generic.IList<System.Object>
|
AvailableValueSources
Gets the ValueSourceOption available for selection in SelectedValueSource.
Declaration
public IList<ValueSourceOption> AvailableValueSources { get; }
Property Value
System.Collections.Generic.IList<ValueSourceOption>
|
Items
Gets or sets the number of items to pass in a Telerik.Windows.Controls.FieldList.Editing.Top10FilterType.Items filter.
Declaration
public int Items { get; set; }
Property Value
System.Int32
|
Percent
Gets or sets the percent of total value to be aggregated by the passing groups in Telerik.Windows.Controls.FieldList.Editing.Top10FilterType.Percent filter.
Declaration
public double Percent { get; set; }
Property Value
System.Double
|
SelectedFilterType
Gets or sets the available Telerik.Windows.Controls.FieldList.Editing.Top10FilterType.
Declaration
public object SelectedFilterType { get; set; }
Property Value
System.Object
|
SelectedSelection
Gets or sets the selected SortedListSelection.
Declaration
public object SelectedSelection { get; set; }
Property Value
System.Object
|
SelectedValueSource
Gets or sets the selected ValueSourceOption.
Declaration
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 Telerik.Windows.Controls.FieldList.Editing.Top10FilterType.Percent filter.
Declaration
public double Sum { 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. |