Table of Contents

Constructor CadRibbonSplitButton

Namespace
OpenCAD2D.Plugins
Assembly
OpenCAD2D.Core.dll

CadRibbonSplitButton(string, IReadOnlyList<CadRibbonButton>)

Makes a split button.

public CadRibbonSplitButton(string text, IReadOnlyList<CadRibbonButton> buttons)

Parameters

text string

The text of the button, shown until a button of the list is used and remembered.

buttons IReadOnlyList<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.