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

Represents Command event args.

Definition

Namespace:Telerik.Windows.Diagrams.Core

Assembly:Telerik.WinControls.RadDiagram.dll

Syntax:

C#
public class CommandEventArgs : GenericEventArgs<ICommand>

Inheritance: objectEventArgsGenericEventArgs<ICommand>CommandEventArgs

Derived Classes: CancellableCommandEventArgs

Inherited Members GenericEventArgs<ICommand>.OriginalEventArgsGenericEventArgs<ICommand>.EntityEventArgs.Empty

Constructors

Initializes a new instance of the CommandEventArgs class.

C#
public CommandEventArgs(ICommand entity, ExecuteAction action)
Parameters:entityICommand

The entity.

actionExecuteAction

The action.

Properties

Gets the execute action.

C#
public ExecuteAction ExecuteAction { get; }