Constructor CadRibbonSplitButton
CadRibbonSplitButton(string, IReadOnlyList<CadRibbonButton>)
Makes a split button.
public CadRibbonSplitButton(string text, IReadOnlyList<CadRibbonButton> buttons)
Parameters
textstringThe text of the button, shown until a button of the list is used and remembered.
buttonsIReadOnlyList<CadRibbonButton>The buttons of the drop-down, at least one, none null.
Exceptions
- ArgumentNullException
Thrown when the text or the buttons are null.
- ArgumentException
Thrown when there is no button, or one is null.