Skip to main content
  • 964 Accesses

Abstract

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 support overflow menus, but they don’t provide floating and docking capability.

  • Ribbons. With only a little more effort, you can add an Office-style ribbon to the top of your application window. It requires a separate (free) download, but you’ll get some valuable built-in features, such as configurable resizing. You’ll also get an Office-style menu feature to match.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 49.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2010 Matthew MacDonald

About this chapter

Cite this chapter

MacDonald, M. (2010). Menus, Toolbars, and Ribbons. In: Pro WPF in C# 2010: Windows Presentation Foundation in .NET 4.0. Apress. https://doi.org/10.1007/978-1-4302-7204-5_25

Download citation

Publish with us

Policies and ethics