Show / Hide Table of Contents

Class UpdateCommandUIEventArgs

Provides data for the UpdateCommandUI event

Inheritance
object
EventArgs
UpdateCommandUIEventArgs
Namespace: ABB.Robotics.RobotStudio.Environment
Assembly: ABB.Robotics.RobotStudio.Environment.dll
Syntax
public sealed class UpdateCommandUIEventArgs : EventArgs

Properties

View Source

Caption

Gets or sets the caption to be displayed

Declaration
public string Caption { get; set; }
Property Value
Type Description
string
View Source

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
View Source

Enabled

Gets or sets whether the command should be enabled or disabled (grayed)

Declaration
public bool Enabled { get; set; }
Property Value
Type Description
bool
View Source

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

View Source

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).

  • View Source
In this article
Back to top Copyright © 2025 ABB