SplitButtonData Constructor

SplitButtonData Constructor

Constructs a new instance of SplitButtonData.

Namespace: Autodesk.Revit.UI
Assembly: RevitAPIUI (in RevitAPIUI.dll) Version: 26.0.4.0 (26.0.4.0)
Syntax
public SplitButtonData(
	string name,
	string text
)
Public Sub New ( 
	name As String,
	text As String
)
public:
SplitButtonData(
	String^ name, 
	String^ text
)
new : 
        name : string * 
        text : string -> SplitButtonData

Parameters

name  String
The internal name of the new button.
text  String
 
Exceptions
ExceptionCondition
ArgumentNullExceptionThrown when is passed for one or more arguments.
ArgumentExceptionThrown when an empty string is passed for one or more arguments.
Remarks
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.
See Also