Infragistics(R) NetAdvantage(R) Windows Forms
SpellChecker Property
See Also  Example E-mail your feedback on this topic.
Infragistics.Win.UltraWinGrid Namespace > UltraGridColumn Class : SpellChecker Property

Gets/sets the component that will perform spell checking on this control.

Syntax

Visual Basic (Declaration) 
Public Property SpellChecker As Infragistics.Win.UltraWinSpellChecker.IUltraSpellChecker
C# 
public Infragistics.Win.UltraWinSpellChecker.IUltraSpellChecker SpellChecker {get; set;}

Example

This sample shows how to enable spell checking for a column in an UltraGrid.

Visual BasicCopy Code
Imports Infragistics.Win.UltraWinSpellChecker

Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load

	'Set the second column on the first band to be spell checked be the spell checker
	Me.UltraGrid1.DisplayLayout.Bands(0).Columns(1).SpellChecker = Me.spellChecker

End Sub
C#Copy Code
using System.Windows.Forms;
using Infragistics.Win.UltraWinSpellChecker;

private void Form1_Load( object sender, EventArgs e )
{
	//Set the second column on the first band to be spell checked be the spell checker
	this.ultraGrid1.DisplayLayout.Bands[ 0 ].Columns[ 1 ].SpellChecker = this.spellChecker;
}

See Also