C # during development, the software layout design mainly uses tablelayoutpanel to support the scaling function, and provides good support for its own labels, Textbox, and other controls, the anchor attribute of these controls is set to top, bottom, left, right, and textalign to middlecenter for scaling and locating.
However, the style of the controls in vs is relatively simple and monotonous. The Dev control is more popular in aesthetic style settings. More attribute support will inevitably complicate the use of the dev control. It is time-consuming and laborious to use each Dev control for the first time!
This afternoon I studied the use of layoutcontrol for half a day. Reasons for use: 1. tablelayoutpanel does not support the dev control and cannot implement scaling control. 2. The project requires the dev control to facilitate style control and improve aesthetics.
Layoutcontrol usage:
1. For general controls, pull them directly. For example, after the textedit control is pulled in, you only need to change the text attribute of layoutcontrolitem.
2. For special items such as blank space filling empty space item and label, you can right-click "customize layout" in layoutcontrol. For example, you can pull the required control.
3. When pulling the control, pay attention to the placement position and method. You can try it by yourself.