Top10FilterViewModel
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
Gets the Top10FilterTypes available for selection in SelectedFilterType.
public IList<object> AvailableFilterTypes { get; }
Gets the SortedListSelections available for selection in SelectedSelection.
public IList<object> AvailableSelections { get; }
Gets the ValueSourceOption available for selection in SelectedValueSource.
public IList<ValueSourceOption> AvailableValueSources { get; }
Gets or sets the number of items to pass in a Items filter.
public int Items { get; set; }
Gets or sets the percent of total value to be aggregated by the passing groups in Percent filter.
public double Percent { get; set; }
Gets or sets the available Top10FilterType.
public object SelectedFilterType { get; set; }
Gets or sets the selected SortedListSelection.
public object SelectedSelection { get; set; }
Gets or sets the selected ValueSourceOption.
public ValueSourceOption SelectedValueSource { get; set; }
Methods
Attach to the new services.
protected override void AttachToServices()
Overrides:
Handles the PivotSettings changed.
protected override void OnPivotSettingsChanged()
Overrides:
Retrieve the services from the serviceProvider. You could use the if you do not want the IsAvailable to track your requests.
protected override void RetrieveServices(IServiceProvider 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: