<Code Lib>
2023 Method
Changes 0
M

RibbonPanel.AddStackedItems(RibbonItemData, RibbonItemData, RibbonItemData)

Description:
Adds three stacked items to the panel.
Remarks:
Each new item may either be a PushButton, PulldownButton, SplitButton, ComboBox or TextBox, depending upon the type of data passed in for each argument. The new items will be created as small-size horizontal controls, with the first stacked on top of the second in the panel.
Overloads (2):
AddStackedItems(RibbonItemData,RibbonItemData,RibbonItemData)

public IList<RibbonItem> AddStackedItems(
	RibbonItemData item1,
	RibbonItemData item2,
	RibbonItemData item3
)

  • item1
    Data containing information about the first item. This data must be of type PushButtonData, PulldownButtonData, SplitButtonData, ComboBoxData, or TextBoxData.
  • item2
    Data containing information about the second item. This data must be of type PushButtonData, PulldownButtonData, SplitButtonData, ComboBoxData, or TextBoxData.
  • item3
    Data containing information about the third item. This data must be of type PushButtonData, PulldownButtonData, SplitButtonData, ComboBoxData, or TextBoxData.
Return Value IList<RibbonItem> A collection containing the added items.

Loading…