Class
DoubleGroupStepViewModel

A view-model that encapsulates the editing of the size of the generated DoubleGroups. This is for internal use only and is not intended to be used directly from your code.

Definition

Namespace:Telerik.Windows.Controls.FieldList.Editing

Assembly:Telerik.Windows.Controls.PivotFieldList.dll

Syntax:

cs-api-definition
public sealed class DoubleGroupStepViewModel : PivotSettingsViewModel, INotifyPropertyChanged, IDisposable, IDialogViewModel, IDataErrorInfo

Inheritance: objectViewModelBaseDialogViewModelPivotSettingsViewModelDoubleGroupStepViewModel

Implements: IDataErrorInfoIDialogViewModelIDisposableINotifyPropertyChanged

Inherited Members DialogViewModel.IsWorkingDialogViewModel.RequiresRefreshDialogViewModel.IsAvailableDialogViewModel.OkDialogViewModel.CancelDialogViewModel.RefreshDialogViewModel.CompletedDialogViewModel.CanceledViewModelBase.InvokeOnUIThread(Action)ViewModelBase.Dispose()ViewModelBase.PropertyChanged

Properties

Error

Declaration

cs-api-definition
public string Error { get; }

Property Value

string

Implements IDataErrorInfo.Error

SelectedStep

Gets or sets the Step of current DoubleGroup.

Declaration

cs-api-definition
public double? SelectedStep { get; set; }

Property Value

double?

this[string]

Declaration

cs-api-definition
public string this[string columnName] { get; }

Parameters

columnName

string

Property Value

string

Implements IDataErrorInfo.this[string]

Methods

CanExecuteOk(object)

Checks if the Ok ICommand can be executed.

Declaration

cs-api-definition
protected override bool CanExecuteOk(object parameter)

Parameters

parameter

object

The parameters.

Returns

bool

True if ICommand can be executed. Otherwise - false.

Overrides DialogViewModel.CanExecuteOk(object)

ExecuteOk(object)

Handles the Ok execution.

Declaration

cs-api-definition
protected override void ExecuteOk(object parameter)

Parameters

parameter

object

Overrides DialogViewModel.ExecuteOk(object)

RetrieveServices(IServiceProvider)

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

Declaration

cs-api-definition
protected override void RetrieveServices(IServiceProvider serviceProvider)

Parameters

serviceProvider

IServiceProvider

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)