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

Provides CommandBinding subscription functionality for RadWizard.

Definition

Namespace:Telerik.Windows.Controls.Wizard

Assembly:Telerik.Windows.Controls.Navigation.dll

Syntax:

C#
public class WizardCommandProvider : DependencyObject, IKeyboardCommandExecutor

Inheritance: objectWizardCommandProvider

Implements: IKeyboardCommandExecutor

Constructors

Initializes a new instance of the WizardCommandProvider class.

C#
public WizardCommandProvider()

Initializes a new instance of the WizardCommandProvider class.

C#
public WizardCommandProvider(RadWizard wizard)
Parameters:wizardRadWizard

Fields

WizardProperty

DependencyProperty

Represents the Wizard DependencyProperty.

C#
public static readonly DependencyProperty WizardProperty

Properties

Gets or sets the RadWizard instance related to this provider.

C#
public RadWizard Wizard { get; set; }
Property Value:

The Wizard instance.

Methods

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

C#
protected virtual bool CanCancelExecute()
Returns:

bool

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

C#
protected virtual void Cancel()

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

C#
protected virtual bool CanFinishExecute()
Returns:

bool

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

C#
protected virtual bool CanHelpExecute()
Returns:

bool

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

C#
protected virtual bool CanMoveCurrentToNextExecute()
Returns:

bool

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

C#
protected virtual bool CanMoveCurrentToPreviousExecute()
Returns:

bool

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

C#
protected virtual void Finish()

Handles the key down event for the wizard command provider.

C#
public virtual void HandleKeyDown(KeyEventArgs args)
Parameters:argsKeyEventArgs

Implements: IKeyboardCommandExecutor.HandleKeyDown(KeyEventArgs)

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

C#
protected virtual void Help()

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

C#
protected virtual void MoveCurrentToNext()

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

C#
protected virtual void MoveCurrentToPrevious()

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

C#
public virtual List<DelegateCommandWrapper> ProvideCommandsForKey(KeyEventArgs args)
Parameters:argsKeyEventArgs

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)

Registers the CommandBindings.

C#
public void RegisterCommandBindings()