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

Represents command routed event args.

Definition

Namespace:Telerik.WinControls.UI.Diagrams

Assembly:Telerik.WinControls.RadDiagram.dll

Syntax:

C#
public sealed class CommandRoutedEventArgs : RoutedEventArgs

Inheritance: objectEventArgsRoutedEventArgsCommandRoutedEventArgs

Inherited Members RoutedEventArgs.HandledRoutedEventArgs.OriginalSourceRoutedEventArgs.RoutedEventRoutedEventArgs.SourceEventArgs.Empty

Constructors

Initializes a new instance of the CommandRoutedEventArgs class.

C#
public CommandRoutedEventArgs(RoutedEvent routedEvent, ICommand command, ExecuteAction action)
Parameters:routedEventRoutedEvent

The routed event.

commandICommand

The command.

actionExecuteAction

The action.

Properties

Gets or sets the command.

C#
public ICommand Command { get; set; }
Property Value:

The command.

Gets the execute action.

C#
public ExecuteAction ExecuteAction { get; }