Class
WizardCommandProvider

Provides CommandBinding subscription functionality for RadWizard.

Definition

Namespace:Telerik.Windows.Controls.Wizard

Assembly:Telerik.Windows.Controls.Navigation.dll

Syntax:

cs-api-definition
public class WizardCommandProvider : DependencyObject, IKeyboardCommandExecutor

Inheritance: objectWizardCommandProvider

Implements: IKeyboardCommandExecutor

Constructors

WizardCommandProvider()

Initializes a new instance of the WizardCommandProvider class.

Declaration

cs-api-definition
public WizardCommandProvider()

WizardCommandProvider(RadWizard)

Initializes a new instance of the WizardCommandProvider class.

Declaration

cs-api-definition
public WizardCommandProvider(RadWizard wizard)

Parameters

wizard

RadWizard

Fields

WizardProperty

Represents the Wizard DependencyProperty.

Declaration

cs-api-definition
public static readonly DependencyProperty WizardProperty

Field Value

DependencyProperty

Properties

Wizard

Gets or sets the RadWizard instance related to this provider.

Declaration

cs-api-definition
public RadWizard Wizard { get; set; }

Property Value

RadWizard

The Wizard instance.

Methods

CanCancelExecute()

Represents the logic that is going to be executed in RadWizardCommands.Cancel can-execute callback.

Declaration

cs-api-definition
protected virtual bool CanCancelExecute()

Returns

bool

CanFinishExecute()

Represents the logic that is going to be executed in RadWizardCommands.Finish can-execute callback.

Declaration

cs-api-definition
protected virtual bool CanFinishExecute()

Returns

bool

CanHelpExecute()

Represents the logic that is going to be executed in RadWizardCommands.Finish can-execute callback.

Declaration

cs-api-definition
protected virtual bool CanHelpExecute()

Returns

bool

CanMoveCurrentToNextExecute()

Represents the logic that is going to be executed in RadWizardCommands.MoveCurrentToNext can-execute callback.

Declaration

cs-api-definition
protected virtual bool CanMoveCurrentToNextExecute()

Returns

bool

CanMoveCurrentToPreviousExecute()

Represents the logic that is going to be executed in RadWizardCommands.MoveCurrentToPrevious can-execute callback.

Declaration

cs-api-definition
protected virtual bool CanMoveCurrentToPreviousExecute()

Returns

bool

Cancel()

Represents the logic that is going to be executed in RadWizardCommands.Cancel execute callback.

Declaration

cs-api-definition
protected virtual void Cancel()

Finish()

Represents the logic that is going to be executed in RadWizardCommands.Finish execute callback.

Declaration

cs-api-definition
protected virtual void Finish()

HandleKeyDown(KeyEventArgs)

Handles the key down event for the wizard command provider.

Declaration

cs-api-definition
public virtual void HandleKeyDown(KeyEventArgs args)

Parameters

args

KeyEventArgs

Implements IKeyboardCommandExecutor.HandleKeyDown(KeyEventArgs)

Help()

Represents the logic that is going to be executed in RadWizardCommands.Finish execute callback.

Declaration

cs-api-definition
protected virtual void Help()

MoveCurrentToNext()

Represents the logic that is going to be executed in RadWizardCommands.MoveCurrentToNextExecute execute callback.

Declaration

cs-api-definition
protected virtual void MoveCurrentToNext()

MoveCurrentToPrevious()

Represents the logic that is going to be executed in RadWizardCommands.MoveCurrentToPreviousExecute execute callback.

Declaration

cs-api-definition
protected virtual void MoveCurrentToPrevious()

ProvideCommandsForKey(KeyEventArgs)

Provides a collection of commands based on the specified key event arguments.

Declaration

cs-api-definition
[SuppressMessage("Microsoft.Design", "CA1002:DoNotExposeGenericLists")]
public virtual List<DelegateCommandWrapper> ProvideCommandsForKey(KeyEventArgs args)

Parameters

args

KeyEventArgs

The key event arguments that contain data about the key event.

Returns

List<DelegateCommandWrapper>

A collection of commands that correspond to the provided key event.

Implements IKeyboardCommandExecutor.ProvideCommandsForKey(KeyEventArgs)

RegisterCommandBindings()

Registers the CommandBindings.

Declaration

cs-api-definition
[SuppressMessage("Microsoft.Performance", "CA1822:MarkMembersAsStatic")]
public void RegisterCommandBindings()