Chapter 23. Working with Menus and Dialog Boxes
After completing this chapter, you will be able to:
Create menus for Microsoft Windows Presentation Foundation (WPF) applications by using the Menu and MenuItem classes.
Perform processing in response to menu events when a user clicks a menu command.
Create context-sensitive pop-up menus by using the ContextMenu class.
Manipulate menus through code and create dynamic menus.
Use Windows common dialog boxes in an application to prompt the user for the name of a file.
In Chapter 22, Chapter 22, you saw how to create a simple WPF application made up of a selection of controls and events. Many professional Microsoft Windows–based applications also provide menus containing commands and options, giving the user ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access