WinForm Layout, container

Source: Internet
Author: User

First, the layout

Properties: 1, Anchor: Bound control to container edge position remains unchanged

Note: The surrounding full lock timing control varies greatly with the interface

2. Dock: Bind to the edge of the container

Note: The next control to the edge needs to define the next control to the edge and then the left and right controls new, to the edge

3. Location: The current position of the control

Second, the container

1. Panel: Basic control Container Space

2. FlowLayoutPanel: Control container for control flow layout

Mate AutoSize (resize based on content)

3. GroupBox: Control Container with caption

4. TabControl: Control container with tabs

-tabpage: Tab Edit Collection

-alignment: How tabs are arranged

5. SplitContainer: Control container for split area

Note: The above small arrow can select horizontal and vertical split

6. TableLayoutPanel: Table Control Container

Note: Containers can be added to the container, TableLayoutPanel can only add one control, you can add a panel to add multiple controls in it first

WinForm Layout, container

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.