[]
Adds a new RibbonGroup with the specified text to the collections.
public RibbonGroup Add(string text)
Type | Name | Description |
---|---|---|
string | text | The text to display in the new group's caption bar. |
Type | Description |
---|---|
RibbonGroup | The newly created RibbonGroup object. |
Adds a RibbonGroup to the RibbonGroupCollection.
public int Add(RibbonGroup group)
Type | Name | Description |
---|---|---|
RibbonGroup | group | The RibbonGroup to add. |
Type | Description |
---|---|
int | The position into which the group was inserted. |