A view-model that encapsulates the editing of a SortOrder and GroupComparer for a Label's Description.
Definition
Namespace:Telerik.Windows.Controls.FieldList.Editing
Assembly:Telerik.Windows.Controls.PivotFieldList.dll
Syntax:
public sealed class SortingOptionsViewModel : PivotSettingsViewModel, INotifyPropertyChanged, IDisposable, IDialogViewModel
Inheritance: objectViewModelBaseDialogViewModelPivotSettingsViewModelSortingOptionsViewModel
Implements:
Inherited Members
Properties
Gets the GroupComparerOption available for selection in SelectedAscendingComparer and SelectedDescendingComparer.
public IList<GroupComparerOption> AvailableComparers { get; }
Gets or sets the selected ascending GroupComparerOption.
public GroupComparerOption SelectedAscendingComparer { get; set; }
Gets or sets the selected descending GroupComparerOption.
public GroupComparerOption SelectedDescendingComparer { 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: