May 2010
Intermediate to advanced
1272 pages
61h 18m
English
ToolBarThe ToolBar control enables creating toolbars for your WPF applications. You can add multiple ToolBar objects within a ToolBarTray object. The following XAML code shows how you can define a simple toolbar; you have to replace image files with valid ones:

Notice how the code implements primitive Button controls that you can manage in Visual Basic code with classic event handlers for the Click event. Following this logic you can place additional ToolBar objects inside the ToolBarTray. Figure 32.22 shows how the ToolBar looks.
Figure 32.22 Implementing a ToolBar.
Read now
Unlock full access