다음을 통해 공유


StackPanel

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Arranges child elements into a single line that can be oriented horizontally or vertically.

<StackPanel ...>
  oneOrMoreUIElements
</StackPanel>
-or-
<StackPanel .../>

XAML Values

Value

Description

oneOrMoreUIElements

One or more of the following object elements that derive from UIElement: Border, Canvas, Ellipse, Glyphs, Grid, Image, InkPresenter, Line, MediaElement, PasswordBox, Path, Polygon, Polyline, Popup, Rectangle, StackPanel, TextBlock, TextBox.

Managed Equivalent

StackPanel

Version Information

Silverlight 2