1. Select a window on the design UI of the your project.
2. Select a ContextMenu item on the combo box of the window's a ContextMenu property.
※ You can check a added Window.ContextMenu tag on the XAML, look like the below image.
3. Display the properties of the ContextMenu when selecting a ContextMenu tag.
※ You can select the ContextMenu object on the Document Outline.
4. Open Collection Edition Items window, when click a button of the ContextMenu's Items property.
5. MenuItem is added when click Add button.
※ You can check a added MenuItem tag on the XAML, look like the below image.
6. If you run your project and click a right button of a mouse, you can see the context menu on the run window.
No comments:
Post a Comment