#33 – Control Class
August 14, 2010 1 Comment
The Control class inherits from FrameworkElement and is the base class for all controls that a user interacts with. Examples of controls include: TextBox, Label, ListBox, ComboBox and Button. Container elements like Panel and Grid are not controls.
The Control class extends FrameworkElement by adding functionality to:
- Change the control’s visual appearance through the use of templates
- Support visual elements like fonts, borders and a background color
Pingback: #296 – Controls that Derive from the Control Class « 2,000 Things You Should Know About WPF