Constructs a new instance of SplitButtonData.
Namespace: Autodesk.Revit.UI
Assembly: RevitAPIUI (in RevitAPIUI.dll) Version: 25.0.0.0 (25.0.0.0)
public SplitButtonData( string name, string text)
nameString
The internal name of the new button.
textString
Exception
Condition
Thrown when . is passed for one or more arguments.
Thrown when an empty string is passed for one or more arguments.
This text will be displayed on the button if drop-down is empty. If sub-items are added, then the split button will display the current PushButton’s text.