title | description | ms.date | helpviewer_keywords | ms.assetid | ||||
---|---|---|---|---|---|---|---|---|
Layout of controls |
Learn about layout in Windows Forms controls, by means of the list of links to relevant topics in this article. |
03/30/2017 |
|
99400e3a-720e-4f56-b68f-89df911a251c |
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.
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.
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.