Initializes a new instance of a RebarButton and specifies a name and type for the new button.
The newly created ToolBarButton has no default Text or Image assigned to it.
Exception Type | Condition |
---|---|
InvalidEnumArgumentException | The buttonType is not one of the RebarButtonType values. |
RebarButton Class | Skybound.Rebar Namespace | RebarButton Constructor Overload List