Class WizardCommandProvider
Provides CommandBinding subscription functionality for RadWizard.
Inheritance
Namespace: Telerik.Windows.Controls.Wizard
Assembly: Telerik.Windows.Controls.Navigation.dll
Syntax
public class WizardCommandProvider : DependencyObject, IKeyboardCommandExecutor
Constructors
WizardCommandProvider()
Initializes a new instance of the WizardCommandProvider class.
Declaration
public WizardCommandProvider()
WizardCommandProvider(RadWizard)
Initializes a new instance of the WizardCommandProvider class.
Declaration
public WizardCommandProvider(RadWizard wizard)
Parameters
RadWizard
wizard
|
Fields
WizardProperty
Represents the Wizard DependencyProperty.
Declaration
public static readonly DependencyProperty WizardProperty
Field Value
System.Windows.DependencyProperty
|
Properties
Wizard
Gets or sets the RadWizard instance related to this provider.
Declaration
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
protected virtual bool CanCancelExecute()
Returns
System.Boolean
|
Cancel()
Represents the logic that is going to be executed in RadWizardCommands.Cancel execute callback.
Declaration
protected virtual void Cancel()
CanFinishExecute()
Represents the logic that is going to be executed in RadWizardCommands.Finish can-execute callback.
Declaration
protected virtual bool CanFinishExecute()
Returns
System.Boolean
|
CanHelpExecute()
Represents the logic that is going to be executed in RadWizardCommands.Finish can-execute callback.
Declaration
protected virtual bool CanHelpExecute()
Returns
System.Boolean
|
CanMoveCurrentToNextExecute()
Represents the logic that is going to be executed in RadWizardCommands.MoveCurrentToNext can-execute callback.
Declaration
protected virtual bool CanMoveCurrentToNextExecute()
Returns
System.Boolean
|
CanMoveCurrentToPreviousExecute()
Represents the logic that is going to be executed in RadWizardCommands.MoveCurrentToPrevious can-execute callback.
Declaration
protected virtual bool CanMoveCurrentToPreviousExecute()
Returns
System.Boolean
|
Finish()
Represents the logic that is going to be executed in RadWizardCommands.Finish execute callback.
Declaration
protected virtual void Finish()
HandleKeyDown(KeyEventArgs)
Handles the key down event for the wizard command provider.
Declaration
public virtual void HandleKeyDown(KeyEventArgs args)
Parameters
System.Windows.Input.KeyEventArgs
args
|
Implements
Help()
Represents the logic that is going to be executed in RadWizardCommands.Finish execute callback.
Declaration
protected virtual void Help()
MoveCurrentToNext()
Represents the logic that is going to be executed in RadWizardCommands.MoveCurrentToNextExecute execute callback.
Declaration
protected virtual void MoveCurrentToNext()
MoveCurrentToPrevious()
Represents the logic that is going to be executed in RadWizardCommands.MoveCurrentToPreviousExecute execute callback.
Declaration
protected virtual void MoveCurrentToPrevious()
ProvideCommandsForKey(KeyEventArgs)
Provides a collection of commands based on the specified key event arguments.
Declaration
public virtual List<DelegateCommandWrapper> ProvideCommandsForKey(KeyEventArgs args)
Parameters
System.Windows.Input.KeyEventArgs
args
The key event arguments that contain data about the key event. |
Returns
System.Collections.Generic.List<DelegateCommandWrapper>
A collection of commands that correspond to the provided key event. |
Implements
RegisterCommandBindings()
Registers the CommandBindings.
Declaration
public void RegisterCommandBindings()