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 CancellableCommandEventArgs : CommandEventArgs

Inheritance: objectEventArgsGenericEventArgs<ICommand>CommandEventArgsCancellableCommandEventArgs

Inherited Members CommandEventArgs.ExecuteActionGenericEventArgs<ICommand>.OriginalEventArgsGenericEventArgs<ICommand>.EntityEventArgs.Empty

Constructors

Initializes a new instance of the CancellableCommandEventArgs class.

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

The entity.

actionExecuteAction

The action.

Properties

Gets or sets a value indicating whether this CancelingGenericEventArgs<T> is cancel.

C#
public bool Cancel { get; set; }
Property Value:

True if cancel; otherwise, false.