#32 – FrameworkElement
August 13, 2010 1 Comment
The FrameworkElement class inherits from UIElement and is in turn the parent class for all controls in WPF.
FrameworkElement builds on UIElement and adds the following functionality:
- Layout – implements a layout model by implementing properties like HorizontalAlignment, MinWidth and Margin
- Support of animation through BeginStoryboard method
- Data binding
- Data templates for binding
- Styles
FrameworkElement is also the main base class for objects that will be added to a logical tree (a hierarchy of visual objects that comprise your user interface).
Pingback: #33 – Control Class | 2,000 Things You Should Know About WPF