Input for WinForms | ComponentOne
C1.Framework Namespace / StackPanel Class / StackPanel Constructor / StackPanel Constructor(Style,Boolean)
The Style object to use.
True for horizontal and False for vertical orientation.

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

    Parameters

    style
    The Style object to use.
    horizontal
    True for horizontal and False for vertical orientation.
    See Also