You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: specs/ContextMenuRequested.md
+2-5Lines changed: 2 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,16 +14,13 @@ and have the choice to:
14
14
1. Add or remove entries to the default context menu provided by the WebView
15
15
2. Use their own UI to display their custom context menu (can either handle the selection on their own or return the selected option to the WebView)
16
16
17
-
If one of the entries added by the end developer is selected, the CustomMenuItemSelected event will be raised and will include in the event args:
18
-
19
-
1. The developer-provided ID for the context menu selected
20
-
2. The selection object with the appropriate data for the end developer to use to carry out custom commands
17
+
If one of the entries inserted by the end developer is selected, the CustomMenuItemSelected event will be raised on the context menu item object that was selected.
21
18
22
19
# Examples
23
20
24
21
## Win32 C++ Add or Remove Entries From WebView Menu
25
22
26
-
The developer can add or remove entries to the default WebView context menu. For this case, the developer specifies Handled to be false and is able to add or remove items to the collection of context menu items.
23
+
The developer can add or remove entries to the default WebView context menu. For this case, the developer specifies Handled to be false and is able to add or remove items from the collection of context menu items.
0 commit comments