Adds a new pushbutton to the pulldown button and associates it with an ExternalCommand.
Namespace: Autodesk.Revit.UIAssembly: RevitAPIUI (in RevitAPIUI.dll) Version: 26.4.0.0 (26.4.0.0)
Syntax
C#
public PushButton AddPushButton(
PushButtonData buttonData
)
Parameters
- buttonData PushButtonData
- An object containing the data needed to construct the pushbutton.
Return Value
PushButton The newly added pushbutton.
Exceptions
Remarks
The new button will display its large image if PushButton.LargeImage is set.
See Also
Reference