RibbonPanel.AddItem
Description:
Adds a Ribbon item to the panel.
Adds a Ribbon item to the panel.
Remarks:
The new item may either be a PushButton, PulldownButton, SplitButon, RadioButtonGroup, ComboBox, or TextBox depending upon the type of data passed in. The new item may be created as a large-size vertical control in the panel.
The new item may either be a PushButton, PulldownButton, SplitButon, RadioButtonGroup, ComboBox, or TextBox depending upon the type of data passed in. The new item may be created as a large-size vertical control in the panel.
public RibbonItem AddItem(
RibbonItemData itemData
)
-
itemDataData containing information about the new item.
-
Thrown when itemData is.
-
Thrown when an item with the itemData.Name already exists in the panel or the data is not of the correct type.