Class UpdateCommandUIEventArgs
Provides data for the UpdateCommandUI event
Namespace: ABB.Robotics.RobotStudio .Environment
Assembly: ABB.Robotics.RobotStudio.Environment.dll
Syntax
public sealed class UpdateCommandUIEventArgs : EventArgs
Properties
Caption
Gets or sets the caption to be displayed
Declaration
public string Caption { get; set; }
Property Value
Type | Description |
---|---|
string |
Checked
Gets or sets whether the command should be checked (pressed for toolbar items)
Declaration
public bool Checked { get; set; }
Property Value
Type | Description |
---|---|
bool |
Enabled
Gets or sets whether the command should be enabled or disabled (grayed)
Declaration
public bool Enabled { get; set; }
Property Value
Type | Description |
---|---|
bool |
Id
ID of the corresponding CommandBarButton
Declaration
public string Id { get; }
Property Value
Type | Description |
---|---|
string |
Remarks
This is provided for convenience; it is also reachable by casting the sender argument of the event handler to CommandBarButton
Visible
Gets or sets the visibility of the command. The default is true.
Declaration
public bool Visible { get; set; }
Property Value
Type | Description |
---|---|
bool |
Remarks
Only supported for menu items (will have no effect otherwise).