System.Windows.UIElement
UIElement adds support for WPF essentials such as layout, input, focus, and events (which the
WPF team refers to by the acronym LIFE). For example, it??™s here that the two-step measure
and arrange layout process is defined, which you??™ll learn about in Chapter 4. It??™s also here that
raw mouse clicks and key presses are transformed to more useful events such as MouseEnter.
As with properties, WPF implements an enhanced event-passing system called routed events.
You??™ll learn how it works in Chapter 6. Finally, UIElement adds supports for commands
(Chapter 10).
System.Windows.FrameworkElement
FrameworkElement is the final stop in the core WPF inheritance tree. It implements some of
the members that are merely defined by UIElement. For example, UIElement sets the foundation
for the WPF layout system, but FrameworkElement includes the key properties (such as
HorizontalAlignment and Margin) that support it. UIElement also adds support for data binding,
animation, and styles, all of which are core features.
CHAPTER 1 n INTRODUCING WPF 19
System.Windows.Shapes.Shape
Basic shapes classes, such as Rectangle, Polygon, Ellipse, Line, and Path, derive from this class.
These shapes can be used alongside more traditional Windows widgets, such as buttons and
text boxes.
Pages:
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107