Class RibbonContextTabGroup
Rerepsents a group of context RibbonTabs for a specific selection type
Namespace: ABB.Robotics.RobotStudio.Environment
Assembly: ABB.Robotics.RobotStudio.Environment.dll
Syntax
public class RibbonContextTabGroup
Constructors
RibbonContextTabGroup()
Creates a new RibbonContextTabGroup
Declaration
public RibbonContextTabGroup()
RibbonContextTabGroup(String, Object[])
Creates a new RibbonContextTabGroup
Declaration
public RibbonContextTabGroup(string caption, params object[] selectionTypes)
Parameters
Type | Name | Description |
---|---|---|
String | caption | Group caption |
Object[] | selectionTypes |
Properties
Caption
Gets or sets the group caption
Declaration
public string Caption { get; set; }
Property Value
Type | Description |
---|---|
String |
Color
Gets or sets the color of this tab group
Declaration
public Color Color { get; set; }
Property Value
Type | Description |
---|---|
Color |
RibbonTabs
Returns the collection of RibbonTabs in this group
Declaration
public RibbonTabCollection RibbonTabs { get; }
Property Value
Type | Description |
---|---|
RibbonTabCollection |
SelectionTypes
Gets or sets the selection type(s) that will cause this context tab group to become visible
Declaration
public object[] SelectionTypes { get; set; }
Property Value
Type | Description |
---|---|
Object[] |
Methods
FromSelectionType(Object)
Returns the RibbonContextTabGroup that has the given selection type, or null if it is not found
Declaration
public static RibbonContextTabGroup FromSelectionType(object selectionType)
Parameters
Type | Name | Description |
---|---|---|
Object | selectionType |
Returns
Type | Description |
---|---|
RibbonContextTabGroup |