* Merge winforms framework content to working branch (#14) * Breadcrumb / TOC / Move net5 to net folder (#15) * change path from net5 to net * Mess with bread/toc * Mess with bread/toc * Mess with bread/toc * Mess with bread/toc * Mess with bread/toc * Mess with bread/toc * Mess with bread/toc * Mess with bread/toc * Mess with bread/toc * Mess with bread/toc * Mess with bread/toc * Mess with bread/toc * Mess with bread/toc * Mess with bread/toc * Add .net 5 winforms placeholder article (#16) * added some metadata and adjusted net5 placeholder * corrections * corrections * corrections * Test1 * Swapping landing page vs concept * fix links * Fix links * Fix desc
2.5 KiB
title, ms.date, helpviewer_keywords, ms.assetid
| title | ms.date | helpviewer_keywords | ms.assetid | ||||
|---|---|---|---|---|---|---|---|
| Layout of controls | 03/30/2017 |
|
99400e3a-720e-4f56-b68f-89df911a251c |
Layout in Windows Forms Controls
Precise placement of controls on your form is a high priority for many applications. The xref:System.Windows.Forms?displayProperty=nameWithType namespace gives you many layout tools to accomplish this.
In This Section
AutoSize Property Overview
Describes the xref:System.Windows.Forms.Control.AutoSize%2A property and its role in layout.
Margin and Padding in Windows Forms Controls
Describes the xref:System.Windows.Forms.Control.Margin%2A and xref:System.Windows.Forms.Control.Padding%2A properties and their roles in layout.
How to: Align a Control to the Edges of Forms
Demonstrates how to use the xref:System.Windows.Forms.Control.Dock%2A property to align your control to the edge of the form it occupies.
How to: Create a Border Around a Windows Forms Control Using Padding
Demonstrates how to use the xref:System.Windows.Forms.Control.Padding%2A property to outline a control.
How to: Implement a Custom Layout Engine
Demonstrates how to implement a xref:System.Windows.Forms.Layout.LayoutEngine for arranging Windows Forms controls.
Reference
xref:System.Windows.Forms.TableLayoutPanel
Provides reference documentation for the xref:System.Windows.Forms.TableLayoutPanel control.
xref:System.Windows.Forms.FlowLayoutPanel
Provides reference documentation for the xref:System.Windows.Forms.FlowLayoutPanel control.