Chapter 25. Menus, Toolbars, and Ribbons

A few rich controls can appear in virtually any type of application, from document editors to system utilities. Those are the controls that you'll meet in this chapter. They include the following:

  • Menus. They're one of the oldest user interface controls, and they've changed surprisingly little in the past two decades. WPF includes solid, straightforward support for main menus and popup context menus.

  • Toolbars and status bars. They decorate the top and bottom of countless applications—sometimes when they aren't even needed. WPF supports both controls with its customary flexibility, allowing you to insert virtually any control inside. However, the WPF toolbars and status bars don't have many frills. They ...

Get Pro WPF in C# 2010: Windows Presentation Foundation in .NET 4 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.