Share via


StackPanel Constructor (Orientation)

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Initializes a new instance of the StackPanel class and sets the orientation for child element (child object) presentation.

Namespace:  Microsoft.SPOT.Presentation.Controls
Assembly:  Microsoft.SPOT.TinyCore (in Microsoft.SPOT.TinyCore.dll)

Syntax

'Declaration
Public Sub New ( _
    orientation As Orientation _
)
public StackPanel(
    Orientation orientation
)
public:
StackPanel(
    Orientation orientation
)
new : 
        orientation:Orientation -> StackPanel
public function StackPanel(
    orientation : Orientation
)

Parameters

  • orientation
    Type: Microsoft.SPOT.Presentation.Controls. . :: . .Orientation
    A value that specifies the presentation of user interface child elements, each of which is represented by an object. Child objects can be presented collectively as either a horizontal or vertical line of elements.

.NET Framework Security

See Also

Reference

StackPanel Class

StackPanel Overload

Microsoft.SPOT.Presentation.Controls Namespace