You have developed a server control, but your boss comes back and asks you to develop a user interface for it. From which class do you derive your custom server control in the above scenario?You have developed a server control, but your boss comes back and asks you to develop a user interface for it. From which class do you derive your custom server control in the above scenario?
Answers
Answered by
0
Answer:
A custom control is a loosely coupled control defined in a class, which derives from Control. The UI of the custom control is generally defined in a Resource Dictionary inside the resource file. They are created according to the requirement of the business. If you want to change the functionality of existing controls, such as a button or label, you can directly derive the new class with these existing classes and can change their default behaviour. We can create themes for a custom control and reuse it in various projects very easily.
Similar questions