Skybound Rebar

RebarButton Constructor (String, RebarButtonType)

Initializes a new instance of a RebarButton and specifies a name and type for the new button.

[Visual Basic]
Overloads Public Sub New( _
   ByVal name As String, _
   ByVal buttonType As RebarButtonType _
)
[C#]
public RebarButton(
   string name,
   RebarButtonType buttonType
);

Parameters

name
The name used to identify this button in code.
buttonType
A RebarButtonType value that specifies the type of button.

Remarks

The newly created ToolBarButton has no default Text or Image assigned to it.

Exceptions

Exception Type Condition
InvalidEnumArgumentException The buttonType is not one of the RebarButtonType values.

See Also

RebarButton Class | Skybound.Rebar Namespace | RebarButton Constructor Overload List