Skip to main content

Menus, Toolbars, and Ribbons

  • Chapter
Pro WPF 4.5 in C#
  • 2557 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 pop-up 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 79.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 99.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

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

© 2012 Matthew MacDonald

About this chapter

Cite this chapter

MacDonald, M. (2012). Menus, Toolbars, and Ribbons. In: Pro WPF 4.5 in C#. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4302-4366-3_25

Download citation

Publish with us

Policies and ethics