Shows a context menu with suggestions for a misspelled word.
Namespace:
C1.SilverlightAssembly: C1.Silverlight (in C1.Silverlight.dll)
Syntax
C# |
---|
void ShowSuggestionsMenu( Object editor, Point position, string word, Action<string> correctCallback ) |
Visual Basic |
---|
Sub ShowSuggestionsMenu ( _ editor As Object, _ position As Point, _ word As String, _ correctCallback As Action(Of String) _ ) |
Parameters
- editor
- Type: System..::..Object
The editor control whose content is being spell checked.
- position
- Type: System.Windows..::..Point
The position in absolute plug-in coordinates where the menu should be open.
- word
- Type: System..::..String
The misspelled word.
- correctCallback
- Type: System..::..Action<(Of <(<'String>)>)>
Callback called when a suggested correction is chosen.