. . . . . . . . . . . . . . . 125
The ScrollViewer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 125
The GroupBox and TabItem: Headered Content Controls . . . . . . . . 129
The Expander . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 131
Decorators . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 135
The Border . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 135
The Viewbox . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 136
The Last Word . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 138
nCHAPTER 6 Dependency Properties and Routed Events . . . . . . . . . . . . . . 139
Understanding Dependency Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . 139
Defining and Registering a Dependency Property . . . . . . . . . . . . . . 140
How WPF Uses Dependency Properties. . . . . . . . . . . . . . . . . . . . . . . 149
Understanding Routed Events . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 151
Defining and Registering a Routed Event . . . . . . . . . . . . . . . . . . . . . 151
Attaching an Event Handler .
Pages:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25