ClassSortingOptionsViewModel
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
AvailableComparers
Gets the GroupComparerOption available for selection in SelectedAscendingComparer and SelectedDescendingComparer.
Declaration
public IList<GroupComparerOption> AvailableComparers { get; }
Property Value
SelectedAscendingComparer
Gets or sets the selected ascending GroupComparerOption.
Declaration
public GroupComparerOption SelectedAscendingComparer { get; set; }
Property Value
SelectedDescendingComparer
Gets or sets the selected descending GroupComparerOption.
Declaration
public GroupComparerOption SelectedDescendingComparer { 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