Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Represents a spelling correction for the current context menu target. This object remains readable while retained. Its CoreWebView2SpellCheckSuggestion.CommandId is valid only for the originating context menu request and must be assigned before that request's deferral is completed.
Summary
| Members | Description |
|---|---|
| CommandId | Gets the opaque command ID used to apply this correction. |
| SuggestionText | Gets the browser-generated spelling correction text. |
Properties
CommandId
readonly int CommandId
Gets the opaque command ID used to apply this correction. Assign this value to CoreWebView2ContextMenuRequestedEventArgs.SelectedCommandId before completing the context menu deferral. Do not invent, modify, or retain this value for a later context menu request.
SuggestionText
readonly string SuggestionText
Gets the browser-generated spelling correction text.