New to Telerik UI for WPFStart a free 30-day trial

A view-model that encapsulates the editing of a SortOrder and GroupComparer for a Label's Description.

Definition

Properties

C#
public IList<GroupComparerOption> AvailableComparers { get; }

Gets or sets the selected ascending GroupComparerOption.

C#
public GroupComparerOption SelectedAscendingComparer { get; set; }

Gets or sets the selected descending GroupComparerOption.

C#
public GroupComparerOption SelectedDescendingComparer { get; set; }

Gets or sets the selected SortOrder.

C#
public SortOrder SortOrder { get; set; }

Methods

Attach to the new services.

C#
protected override void AttachToServices()

Overrides: PivotSettingsViewModel.AttachToServices()

Handles the Ok execution.

C#
protected override void ExecuteOk(object parameter)
Parameters:parameterobject

Overrides: DialogViewModel.ExecuteOk(object)

Handles the PivotSettings changed.

C#
protected override void OnPivotSettingsChanged()

Overrides: PivotSettingsViewModel.OnPivotSettingsChanged()

Retrieve the services from the serviceProvider. You could use the if you do not want the IsAvailable to track your requests.

C#
protected override void RetrieveServices(IServiceProvider serviceProvider)
Parameters:serviceProviderIServiceProvider

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: PivotSettingsViewModel.RetrieveServices(IServiceProvider)