Class StatusBarPaneCollection
Represents a collection of status bar panes in a status bar
Namespace: ABB.Robotics.RobotStudio.Environment
Assembly: ABB.Robotics.RobotStudio.Environment.dll
Syntax
public class StatusBarPaneCollection : ICollection, IEnumerable<StatusBarPane>, IEnumerable
Properties
Count
Returns the number of panes in the collection
Declaration
public int Count { get; }
Property Value
Type | Description |
---|---|
Int32 |
IsSynchronized
See ICollection.IsSynchronized. Always returns false.
Declaration
public bool IsSynchronized { get; }
Property Value
Type | Description |
---|---|
Boolean |
Item[Int32]
Gets the pane with the specified index
Declaration
public StatusBarPane this[int index] { get; }
Parameters
Type | Name | Description |
---|---|---|
Int32 | index |
Property Value
Type | Description |
---|---|
StatusBarPane |
SyncRoot
See ICollection.SyncRoot
Declaration
public object SyncRoot { get; }
Property Value
Type | Description |
---|---|
Object |
Methods
Add(StatusBarPane)
Adds a pane to the collection
Declaration
public void Add(StatusBarPane pane)
Parameters
Type | Name | Description |
---|---|---|
StatusBarPane | pane | The pane to add |
Contains(StatusBarPane)
Returns True if the collection contains the specified StatusBarPane, false otherwise
Declaration
public bool Contains(StatusBarPane pane)
Parameters
Type | Name | Description |
---|---|---|
StatusBarPane | pane | The StatusBarPane to search for |
Returns
Type | Description |
---|---|
Boolean | True if the collection contains the specified StatusBarPane, false otherwise |
CopyTo(StatusBarPane[], Int32)
Copies the elements of the collection to an StatusBarPane array, starting at a particular Array index
Declaration
public void CopyTo(StatusBarPane[] array, int index)
Parameters
Type | Name | Description |
---|---|---|
StatusBarPane[] | array | |
Int32 | index |
GetEnumerator()
See IEnumerable.GetEnumerator()
Declaration
public IEnumerator GetEnumerator()
Returns
Type | Description |
---|---|
IEnumerator |
IndexOf(StatusBarPane)
Gets the pane with the given index in the collection
Declaration
public int IndexOf(StatusBarPane pane)
Parameters
Type | Name | Description |
---|---|---|
StatusBarPane | pane | The pane to search for |
Returns
Type | Description |
---|---|
Int32 | The pane's index, or -1 if not found |
Insert(Int32, StatusBarPane)
Adds a pane to the collection at a specific index
Declaration
public void Insert(int index, StatusBarPane pane)
Parameters
Type | Name | Description |
---|---|---|
Int32 | index | The index at which to add the pane |
StatusBarPane | pane | The pane to add |
Remove(StatusBarPane)
Removes a pane from the collection
Declaration
public void Remove(StatusBarPane pane)
Parameters
Type | Name | Description |
---|---|---|
StatusBarPane | pane | The pane to remove |