= What is the concept of a control?
Baidu said that controls are the encapsulation of data and methods. The control can have its own properties and methods. A property is a simple visitor to the control's data.
For HMI development, the use of controls can quickly get to the user's interaction (including press, release, click, drag, and so on), you can quickly apply the already encapsulated operational logic.
= "Why encapsulate, use controls?"
Designing controls is a hard job. For the developer of the control, the control is purely code. In fact, creating new controls brings us back to the era of traditional development tools.
Although this is a complex process, it is also a process that is a once and for all. The greatest significance of creating controls is to encapsulate repetitive work, followed by the ability to augment existing controls.
= "Control development should be mastered by the content."
The three main things a control developer should master are: properties, events, and methods.
= "Commonly used controls:
1. Button
2. List
3. Progress bar
4. Layout controls
5. Text controls
6. Picture control controls
......
The following will summarize the performance (properties, events, and methods) of these commonly used control abstractions.
HMI Development and controls