Show / Hide Table of Contents

Class CommandBar

Represents the contents of a ToolBarControl

Inheritance
object
CommandBar
Implements
ICommandBarControlContainer
Namespace: ABB.Robotics.RobotStudio.Environment
Assembly: ABB.Robotics.RobotStudio.Environment.dll
Syntax
public sealed class CommandBar : ICommandBarControlContainer

Constructors

View Source

CommandBar(string)

Initializes a new instance of the CommandBar class.

Declaration
public CommandBar(string barId)
Parameters
Type Name Description
string barId

The identity of the bar. If the caption is not set, the ID will be used. Must be unique.

View Source

CommandBar(string, string)

Initializes a new instance of the CommandBar class.

Declaration
public CommandBar(string barId, string caption)
Parameters
Type Name Description
string barId

The identity of the bar. Must be unique.

string caption

The caption text of the command bar. The caption text should be unique.

Properties

View Source

Caption

The caption text of the command bar.

Declaration
public string Caption { get; }
Property Value
Type Description
string
Remarks

Currently not used.

View Source

Controls

Gets a CommandBarControlCollection object that represents all the controls on this CommandBar object.

Declaration
public CommandBarControlCollection Controls { get; }
Property Value
Type Description
CommandBarControlCollection
View Source

Enabled

Gets or sets a value indicating whether the controls on the CommandBar can be enabled or not

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

Id

Returns a string identifying this CommandBar. Two CommandBars can not have the same Id.

Declaration
public string Id { get; }
Property Value
Type Description
string

Implements

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