Ribbon for WinForms | ComponentOne
C1.Framework Namespace / StackPanel Class / StackPanel Constructor / StackPanel Constructor(Boolean)
True for horizontal and False for vertical orientation.

In This Topic
    StackPanel Constructor(Boolean)
    In This Topic
    Initializes a new instance of the StackPanel element with specified orientation.
    Syntax
    'Declaration
     
    
    Public Function New( _
       ByVal horizontal As Boolean _
    )
    public StackPanel( 
       bool horizontal
    )

    Parameters

    horizontal
    True for horizontal and False for vertical orientation.
    See Also