'宣言 Public Property SpellChecker As Infragistics.Win.UltraWinSpellChecker.IUltraSpellChecker
public Infragistics.Win.UltraWinSpellChecker.IUltraSpellChecker SpellChecker {get; set;}
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
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; }