Class
CommandExecutingEventArgs

Class CommandExecutingEventArgs.

Definition

Namespace:Telerik.Windows.Controls.SyntaxEditor.Commands

Assembly:Telerik.Windows.Controls.SyntaxEditor.dll

Syntax:

cs-api-definition
public class CommandExecutingEventArgs : EventArgs

Inheritance: objectEventArgsCommandExecutingEventArgs

Inherited Members EventArgs.Empty

Constructors

CommandExecutingEventArgs(SyntaxEditorCommandBase, object)

Initializes a new instance of the CommandExecutingEventArgs class.

Declaration

cs-api-definition
public CommandExecutingEventArgs(SyntaxEditorCommandBase command, object commandParameter)

Parameters

command

SyntaxEditorCommandBase

The command.

commandParameter

object

The command parameter.

Properties

Canceled

Gets a value indicating whether this CommandExecutingEventArgs is canceled.

Declaration

cs-api-definition
public bool Canceled { get; }

Property Value

bool

true if canceled; otherwise, false.

Command

Gets the command.

Declaration

cs-api-definition
public SyntaxEditorCommandBase Command { get; }

Property Value

SyntaxEditorCommandBase

The command.

CommandParameter

Gets the command parameter.

Declaration

cs-api-definition
public object CommandParameter { get; }

Property Value

object

The command parameter.

Methods

Cancel()

Cancels this instance.

Declaration

cs-api-definition
public void Cancel()