Initializes a new instance of a RebarButton and specifies a name, text, an image, whether the button is initially enabled and the type for the new button.
Specifying a null reference (Nothing in Visual Basic) for image will cause the TextVisible property of the new button to default to true.
Exception Type | Condition |
---|---|
InvalidEnumArgumentException | The buttonType is not one of the RebarButtonType values. |
RebarButton Class | Skybound.Rebar Namespace | RebarButton Constructor Overload List