Microsoft 9GD00001 Computer Accessories User Manual


 
Chapter 8: Building Desktop Applications with WPF 227
You’ll find all of the available controls on the Toolbox, divided into panels where the
top panel is Common WPF controls, which makes it easy to find the controls you use the
most. The All WPF Controls tab includes the complete list of WPF controls.
You’ve seen how the Designer can be used in the preceding section, which discussed
layout controls. You can open the Designer by double-clicking a *.xaml file in Solution
Explorer. To add a control to the Designer, select the control in the Toolbox and drag the
control onto the Designer. Figure 8-8 shows a Button that has been dragged and dropped
onto the Designer.
Table 8-1 Primary Windows for Working with Controls
Window Menu Keystroke
Toolbox View | Toolbox CTRL-W, X
Solution Explorer View | Solution Explorer CTRL-W, L
Designer Double-click *.xaml file in Solution Explorer SHIFT-F7
Properties Window View | Properties window CTRL-W, P
Figure 8-8 Adding a control to the VS Designer