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

Class CommandExecutingEventArgs.

Definition

Namespace:Telerik.WinForms.SyntaxEditor.Commands

Assembly:Telerik.WinControls.SyntaxEditor.dll

Syntax:

C#
public class CommandExecutingEventArgs : EventArgs

Inheritance: objectEventArgsCommandExecutingEventArgs

Inherited Members EventArgs.Empty

Constructors

Initializes a new instance of the CommandExecutingEventArgs class.

C#
public CommandExecutingEventArgs(SyntaxEditorCommandBase command, object commandParameter)
Parameters:commandSyntaxEditorCommandBase

The command.

commandParameterobject

The command parameter.

Properties

Gets a value indicating whether this CommandExecutingEventArgs is canceled.

C#
public bool Canceled { get; }
Property Value:

true if canceled; otherwise, false.

Gets the command.

C#
public SyntaxEditorCommandBase Command { get; }
Property Value:

The command.

Gets the command parameter.

C#
public object CommandParameter { get; }
Property Value:

The command parameter.

Methods

Cancels this instance.

C#
public void Cancel()