TXTextControl.WPF.Proofing.SpellCheckDialog.Show Method

Invokes the built-in dialog box for checking incorrect or misspelled (TXTextControl.WPF.TextControl.MisspelledWords) words. The first implementation opens the spell check dialog for checking of the TXSpellChecker.IncorrectWords collection in TX Spell for WPF. To connect the SpellCheckDialog with an object of type TXTextControl.WPF.TextControl, the Show method provides the third implementation. At both implementations, the dialog's selected suggestion dictionary is specified through the SuggestionDictionaryComboBox.SuggestionDictionary property. The second and the fourth implementation can be used to invoke the dialog with another suggestion dictionary.

Show(Window)

Invokes the built-in dialog box for correcting incorrect words of the TXSpellChecker.IncorrectWords collection in TXSpell for WPF. The SuggestionDictionaryComboBox.SuggestionDictionary is selected to create suggestions.

[C#]
public void Show(System.Windows.Window owner);
[Visual Basic]
Public Sub Show(owner AS System.Windows.Window)
Parameter Description
owner

Any object that implements System.Windows.Window and represents the top-level window that owns this dialog.

Show(Window, Dictionary)

Invokes the built-in dialog box for checking incorrect words of the TXSpellChecker.IncorrectWords collection in TXSpell for WPF. The specified suggestion dictionary is selected to create suggestions.

[C#]
public void Show(System.Windows.Window owner, Proofing.Dictionary suggestionDictionary);
[Visual Basic]
Public Sub Show(owner AS System.Windows.Window, suggestionDictionary As Proofing.Dictionary)
Parameter Description
owner

Any object that implements System.Windows.Window and represents the top-level window that owns this dialog.

suggestionDictionary

Specifies the dictionary used for creating suggestions. This parameter is only useful, if more than one dictionary is added to the spellchecker's dictionary collection.

Show(Object)

Invokes the built-in dialog box for checking misspelled words (TXTextControl.WPF.TextControl.MisspelledWords) of a specific TextControl (TXTextControl.WPF.TextControl). The SuggestionDictionaryComboBox.SuggestionDictionary is selected to create suggestions.

[C#]
public void Show(object textControl);
[Visual Basic]
Public Sub Show(textControl As Object)
Parameter Description
textControl

Specifies the object of type TXTextControl.WPF.TextControl that is connected to the dialog.

Show(Object, Dictionary)

Invokes the built-in dialog box for checking misspelled words (TXTextControl.WPF.TextControl.MisspelledWords) of a specific TextControl (TXTextControl.WPF.TextControl). The specified suggestion dictionary is selected to create suggestions.

[C#]
public void Show(object textControl, Proofing.Dictionary suggestionDictionary);
[Visual Basic]
Public Sub Show(textControl As Object, suggestionDictionary As Proofing.Dictionary)
Parameter Description
textControl

Specifies the object of type TXTextControl.WPF.TextControl that is connected to the dialog.

suggestionDictionary

Specifies the dictionary used for creating suggestions. This parameter is only useful, if more than one dictionary is added to the spellchecker's dictionary collection.