Class ExecutingCommandEventArgs
Provides data for the ExecutingCommand event
Namespace: ABB.Robotics.RobotStudio.Environment
Assembly: ABB.Robotics.RobotStudio.Environment.dll
Syntax
public class ExecutingCommandEventArgs
Properties
Cancel
Gets or Sets the Cancel property
Declaration
public bool Cancel { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
Control
Gets the CommandBarControl that is responsible for the event
Declaration
public CommandBarControl Control { get; }
Property Value
Type | Description |
---|---|
CommandBarControl |
Reason
Gets the reason for the event.
Declaration
public ExecuteCommandReason Reason { get; }
Property Value
Type | Description |
---|---|
ExecuteCommandReason |
TargetWindow
Gets the target window for the command (or null if none)
Declaration
public Window TargetWindow { get; }
Property Value
Type | Description |
---|---|
Window |