ComponentOne Basic Library for WPF and Silverlight
ShowSuggestionsMenu Method (ISpellChecker)


C1.Silverlight Namespace > ISpellChecker Interface : ShowSuggestionsMenu Method
The editor control whose content is being spell checked.
The position in absolute plug-in coordinates where the menu should be open.
The misspelled word.
Callback called when a suggested correction is chosen.
Shows a context menu with suggestions for a misspelled word.
Syntax
'Declaration
 
Sub ShowSuggestionsMenu( _
   ByVal editor As System.Object, _
   ByVal position As System.Windows.Point, _
   ByVal word As System.String, _
   ByVal correctCallback As System.Action(Of String) _
) 
'Usage
 
Dim instance As ISpellChecker
Dim editor As System.Object
Dim position As System.Windows.Point
Dim word As System.String
Dim correctCallback As System.Action(Of String)
 
instance.ShowSuggestionsMenu(editor, position, word, correctCallback)
void ShowSuggestionsMenu( 
   System.object editor,
   System.Windows.Point position,
   System.string word,
   System.Action<string> correctCallback
)

Parameters

editor
The editor control whose content is being spell checked.
position
The position in absolute plug-in coordinates where the menu should be open.
word
The misspelled word.
correctCallback
Callback called when a suggested correction is chosen.
See Also

Reference

ISpellChecker Interface
ISpellChecker Members