ContextMenu
The ContextMenu allows a control to display a Menu that is specific to the context of the control. Typically, the ContextMenu is exposed in the user interface (UI) through the right mouse button or through the keyboard’s menu button.
The following figure illustrates a ContextMenu in two different states: the default state and the open state. In the default state, the control is collapsed. When the right mouse button is pressed over the parent of the menu, the control expands and displays the menu items.
ContextMenu in different states
In This Section
Reference
Related Sections
.NET Desktop feedback
Зворотний зв’язок
https://aka.ms/ContentUserFeedback.
Очікується незабаром: протягом 2024 року ми будемо припиняти використання механізму реєстрації проблем у GitHub для зворотного зв’язку щодо вмісту й замінювати його новою системою зворотного зв’язку. Докладніше:Надіслати й переглянути відгук про