Difference between a user control and a custom control? |
[Edit] |
Answer
In Windows programming, both user control and custom control refer to a control. Controls are re-usable components that may, but don't necessesarily do, have a graphical user interface. In some development scenarios, controls can be added to the application's graphical user interface using a simple drag-and-drop operation.
The term "user control" refers to a standard control that may be used by the user (the programmer). Perhaps the name would have better been "standard control." User controls include pre-defined components for all the fundamental components of a Windows graphical user interface, such as buttons, sliders, check boxes, radio buttons, lists and drop downs, etc. Non-interactive components such as a simple timer interface are also included.
A custom control is a control that is especially made by the programmer, and is not included with the development toolkit as a pre-defined component.
Answer
In Windows programming, both user control and custom control refer to a control. Controls are re-usable components that may, but don't necessesarily do, have a graphical user interface. In some development scenarios, controls can be added to the application's graphical user interface using a simple drag-and-drop operation.
The term "user control" refers to a standard control that may be used by the user (the programmer). Perhaps the name would have better been "standard control." User controls include pre-defined components for all the fundamental components of a Windows graphical user interface, such as buttons, sliders, check boxes, radio buttons, lists and drop downs, etc. Non-interactive components such as a simple timer interface are also included.
A custom control is a control that is especially made by the programmer, and is not included with the development toolkit as a pre-defined component.
First answer by W7. Last edit by W7. Contributor trust: 153 [recommend contributor]. Question popularity: 10 [recommend question]
|
Research your answer: |



