CONTENTS
Testing Your Application..................................................................................................................... 1153
Exploring the WPF Documentation ..................................................................................................... 1154
Summary .....................................................................................................................1155
Chapter 28: Programming with WPF Controls ..................................................1157
A Survey of the Core WPF Controls..............................................................................1157
The WPF Ink Controls.......................................................................................................................... 1158
The WPF Document Controls .............................................................................................................. 1158
WPF Common Dialog Boxes................................................................................................................ 1159
The Details Are in the Documentation ................................................................................................ 1159
A Brief Review of the Visual Studio WPF Designer ......................................................1160
Working with WPF Controls Using Visual Studio ................................................................................ 1161
Working with the Document Outline Editor ........................................................................................ 1162
Controlling Content Layout Using Panels.....................................................................1163
Positioning Content Within Canvas Panels ......................................................................................... 1166
Positioning Content Within WrapPanel Panels.................................................................................... 1167
Positioning Content Within StackPanel Panels................................................................................... 1169
Positioning Content Within Grid Panels .............................................................................................. 1170
Positioning Content Within DockPanel Panels.................................................................................... 1173
Enabling Scrolling for Panel Types ..................................................................................................... 1174
Configuring Panels Using the Visual Studio Designers....................................................................... 1175
Building a Window’s Frame Using Nested Panels .......................................................1178
Building the Menu System.................................................................................................................. 1179
Building the ToolBar ........................................................................................................................... 1183
Building the StatusBar........................................................................................................................ 1183
Finalizing the UI Design ...................................................................................................................... 1183
Implementing the MouseEnter/MouseLeave Event Handlers ............................................................. 1184
Implementing the Spell Checking Logic ............................................................................................. 1185
Understanding WPF Commands ..................................................................................1186
xliii