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