Skip to content

Commit e20df24

Browse files
author
Hosam Tageldin
committed
Small change with CustomItemSelected description
1 parent 13772c0 commit e20df24

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

specs/ContextMenuRequested.md

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,13 @@ and have the choice to:
1414
1. Add or remove entries to the default context menu provided by the WebView
1515
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)
1616

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.
2118

2219
# Examples
2320

2421
## Win32 C++ Add or Remove Entries From WebView Menu
2522

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.
2724

2825
```cpp
2926
webview2->add_ContextMenuRequested(

0 commit comments

Comments
 (0)