mirror of
https://github.com/Stone-Red-Code/docs-desktop.git
synced 2026-09-04 23:43:39 +02:00
* Reset branch for WPF changes * Convert BMP to PNG; fix link-out-of-scope err * Add snippets for WPF... 6794 files!!!! * Add missing snippets * update file updated between migration * Fix paths to include * update breadcrumb and toc * fix index links * fix index links * fix index links * fix markdown
39 lines
1.0 KiB
Markdown
39 lines
1.0 KiB
Markdown
---
|
|
title: "StackPanel"
|
|
ms.date: "03/30/2017"
|
|
f1_keywords:
|
|
- "AutoGeneratedOrientationPage"
|
|
helpviewer_keywords:
|
|
- "stacking elements [WPF]"
|
|
- "StackPanel control [WPF]"
|
|
- "controls [WPF], StackPanel"
|
|
ms.assetid: a82b824c-1b98-49a9-b7fd-2d9c154dd002
|
|
---
|
|
# StackPanel
|
|
The <xref:System.Windows.Controls.StackPanel> element is used to stack child elements horizontally or vertically.
|
|
|
|
## In This Section
|
|
[How-to Topics](stackpanel-how-to-topics.md)
|
|
|
|
## Reference
|
|
<xref:System.Windows.Controls.Panel>
|
|
|
|
<xref:System.Windows.Controls.Canvas>
|
|
|
|
<xref:System.Windows.Controls.DockPanel>
|
|
|
|
<xref:System.Windows.Controls.Grid>
|
|
|
|
<xref:System.Windows.Controls.StackPanel>
|
|
|
|
<xref:System.Windows.Controls.VirtualizingStackPanel>
|
|
|
|
<xref:System.Windows.Controls.WrapPanel>
|
|
|
|
## Related Sections
|
|
[Layout](../advanced/layout.md)
|
|
|
|
[Walkthrough: My first WPF desktop application](../getting-started/walkthrough-my-first-wpf-desktop-application.md)
|
|
|
|
[ScrollViewer Overview](scrollviewer-overview.md)
|