Redigera

Dela via


TableLayoutPanel Control (Windows Forms)

The TableLayoutPanel control arranges its contents in a grid. Because the layout is performed both at design time and run time, it can change dynamically as the application environment changes. This gives the controls in the panel the ability to proportionally resize, so it can respond to changes such as the parent control resizing or text length changing due to localization.

In This Section

TableLayoutPanel Control Overview
Introduces the general concepts of the TableLayoutPanel control, which allows you to create a layout with rows and columns.

Best Practices for the TableLayoutPanel Control
Outlines recommendations to help you get the most out of the layout features of the TableLayoutPanel control.

AutoSize Behavior in the TableLayoutPanel Control
Explains the ways in which the TableLayoutPanel control supports automatic sizing behavior.

How to: Anchor and Dock Child Controls in a TableLayoutPanel Control
Shows how to anchor and dock child controls in a TableLayoutPanel control.

How to: Design a Windows Forms Layout that Responds Well to Localization
Demonstrates using a TableLayoutPanel control to build a form that responds well to localization.

How to: Create a Resizable Windows Form for Data Entry
Demonstrates using a TableLayoutPanel control to build a form that responds well to resizing.

  1. How to: Align and Stretch a Control in a TableLayoutPanel Control

  2. How to: Span Rows and Columns in a TableLayoutPanel Control

  3. How to: Edit Columns and Rows in a TableLayoutPanel Control

  4. Walkthrough: Arranging Controls on Windows Forms Using a TableLayoutPanel

Reference

TableLayoutPanel
Provides reference documentation for the TableLayoutPanel control.

TableLayoutSettings
Provides reference documentation for the TableLayoutSettings type.

FlowLayoutPanel
Provides reference documentation for the FlowLayoutPanel control.

Localization
Provides an overview of topics relating to localization.

Also see Localizing Applications.