Friday, 10 May 2013

Object Hierarchy | WPF Tutorial pdf

Object Hierarchy
There are quite a few objects in any control of WPF. Lets discuss one by one as in figure. (The abstract class is marked in ellipse while concrete class in Rectangles) :
=> DispatcherObject : Mother of all WPF controls which takes care of UI thread.
=> DependencyObject : Builds the Observer for Dependency Properties.
=> Visual : Links between managed libraries and milcore.
=> UIElement : Adds supports for WPF features like layout, input, events etc.
=> FrameworkElement : Implementation of UIElement
=> Shape : Base class of all the Basic Shapes
=> Control : The UI elements that interact with the user. They can be Templated to change look.
=> ContentControl : Baseclass of all controls that has single content.
=> ItemsControl : Baseclass for all controls that shows a collection.
=> Panel : Baseclass of all panels which shows one or more controls within it.

No comments: