Q&A Categories

Difference between User Controls and Custom Controls

Sep

26

2011

What is difference between User Controls and Custom Controls

In: Computer Asked By: daniel [554 Orange Star Level]
Answer #1

Custom controls and user controls are some for the terms normally used when talking about Windows programming. In certain development scenarios, these controls are added onto the GUI or graphical user interface through utilizing the uncomplicated drag and then drop operation. Nevertheless, custom controls and user controls have many differences and some will be listed here below.

1. Definition

Custom controls are the controls that are particularly made by a programmer. As such, these controls are not included like pre-defined components in the programming toolkit. In contrast, user controls refer to general controls that are made specifically for use by the users. Another term used to refer to user controls is standard controls. They comprise of the fundamental parts of GUI such as sliders, radio buttons, drop downs, lists, buttons and check boxes among many others.

2. Flexibility

Custom controls are much more flexible with regards to function than user controls. However, custom controls require better understanding of programming tools. In contrast, user controls can be easily created as they do not need in detail understanding of UI Models. Moreover, custom controls have a more dynamic layout as compared to the static layout of user controls.

3. Function

The use of custom controls and user controls also varies. When you are using fixed and rapid content in the user interface, then user controls are recommended. Similarly when you desire to divide certain basic functionalities of the main view to manageable pieces with more reusability, then user controls are suggested. Custom controls are best used for adding themes and also for providing additional toolbox support to enable programmers to utilize the drag then drop feature.

The above information ought to assist you to know the differences between these two controls and also the best time for using either of the two.

Answers Answered By: daniel [554 Orange Star Level]
Share

Answer this Question

You must be Logged In to post an Answer.

Not a member yet? Sign Up Now »


Become our fan

Star Points Scale

Earn points for Asking and Answering Questions!

Grey Sta Levelr [1 - 25 Grey Star Level]
Green Star Level [26 - 50 Green Star Level]
Blue Star Level [51 - 500 Blue Star Level]
Orange Star Level [501 - 5000 Orange Star Level]
Red Star Level [5001 - 25000 Red Star Level]
Black Star Level [25001+ Black Star Level]