ClassTop10FilterViewModel
A view-model that encapsulates the editing of Top10 typed filters for a Label's Description.
Definition
Namespace:Telerik.Windows.Controls.FieldList.Editing
Assembly:Telerik.Windows.Controls.PivotFieldList.dll
Syntax:
public sealed class Top10FilterViewModel : PivotSettingsViewModel, INotifyPropertyChanged, IDisposable, IDialogViewModel
Inheritance: objectViewModelBaseDialogViewModelPivotSettingsViewModelTop10FilterViewModel
Implements:
Inherited Members
Properties
AvailableFilterTypes
Gets the Top10FilterTypes available for selection in SelectedFilterType.
AvailableSelections
Gets the SortedListSelections available for selection in SelectedSelection.
AvailableValueSources
Gets the ValueSourceOption available for selection in SelectedValueSource.
Declaration
public IList<ValueSourceOption> AvailableValueSources { get; }
Property Value
Items
Gets or sets the number of items to pass in a Items filter.
Percent
Gets or sets the percent of total value to be aggregated by the passing groups in Percent filter.
SelectedFilterType
Gets or sets the available Top10FilterType.
SelectedSelection
Gets or sets the selected SortedListSelection.
SelectedValueSource
Gets or sets the selected ValueSourceOption.
Declaration
public ValueSourceOption SelectedValueSource { get; set; }
Property Value
Methods
AttachToServices()
Attach to the new services.
Declaration
protected override void AttachToServices()
Overrides
ExecuteOk(object)
Handles the Ok execution.
Declaration
protected override void ExecuteOk(object parameter)
Parameters
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 if you do not want the IsAvailable to track your requests.
Declaration
protected override void RetrieveServices(IServiceProvider serviceProvider)
Parameters
serviceProvider
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