#32 – FrameworkElement

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).


About Sean
Software developer in the Twin Cities area, passionate about software development and sailing.

One Response to #32 – FrameworkElement

  1. Pingback: #33 – Control Class | 2,000 Things You Should Know About WPF

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: