Version

ShowSpellCheck(Object) Method

Shows the spell checking dialog non-modally for the specified object and returns a reference to the spell check dialog shown.
Syntax
'Declaration
 
Public Overloads Function ShowSpellCheck( _
   ByVal spellCheckTarget As Object _
) As Form
public Form ShowSpellCheck( 
   object spellCheckTarget
)

Parameters

spellCheckTarget
The object being spell checked. This must be of a type supported by the spell checker.

Return Value

A reference to the spell check dialog or null if the SpellCheckDialogOpening event was cancelled.
Example
This sample shows how to show a non-modal spell check dialog.

Imports Infragistics.Win.UltraWinSpellChecker

Private Sub btSpellCheckNonModally_Click(ByVal sender As Object, ByVal e As EventArgs) Handles btSpellCheckNonModally.Click
	'Show the spell check dialog for the rich text box non-modally
	Me.ultraSpellChecker1.ShowSpellCheck(Me.richTextBox1)
End Sub
using System.Windows.Forms;
using Infragistics.Win.UltraWinSpellChecker;

private void btSpellCheckNonModally_Click(object sender, EventArgs e)
{
	//Show the spell check dialog for the rich text box non-modally
	this.ultraSpellChecker1.ShowSpellCheck( this.rtbSpellChecked );
}
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also