Skybound Rebar

RebarButton Constructor (String, Control, Boolean, Int32)

Initializes a new instance of a RebarButton that is a panel.

[Visual Basic]
Overloads Public Sub New( _
   ByVal name As String, _
   ByVal child As Control, _
   ByVal spring As Boolean, _
   ByVal width As Integer _
)
[C#]
public RebarButton(
   string name,
   Control child,
   bool spring,
   int width
);

Parameters

name
The name used to identify this panel in code.
child
The child control of the panel.
spring
Whether this panel should expand to fill the maximum available width.
width
The width of the panel.

Remarks

This overload has the necessary parameters for creating a rebar button that is a panel. You may specify a null reference (Nothing in Visual Basic) for control if the panel will not have a child control.

See Also

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