'Declaration Public Event SpellCheckDialogOpening As SpellCheckDialogOpeningEventHandler
public event SpellCheckDialogOpeningEventHandler SpellCheckDialogOpening
The event handler receives an argument of type SpellCheckDialogOpeningEventArgs containing data related to this event. The following SpellCheckDialogOpeningEventArgs properties provide information specific to this event.
Property | Description |
---|---|
Cancel | Gets or sets whether or not to cancel the showing of the default spell check dialog. |
SpellCheckDialog | Gets or sets the spell check dialog to display to the user. |
SpellCheckTarget (Inherited from Infragistics.Win.UltraWinSpellChecker.SpellCheckTargetEventArgs) | Gets the object which was spell checked. |
Imports Infragistics.Win.UltraWinSpellChecker 'Keep a flag which determines whether or not to prevent the spell check dialog from showing Private preventSpellCheckDialogOpenning As Boolean = True Private Sub ultraSpellChecker1_SpellCheckDialogOpening(ByVal sender As Object, ByVal e As SpellCheckDialogOpeningEventArgs) Handles ultraSpellChecker1.SpellCheckDialogOpening 'Don't allow the spell check dialog to show if the flag is set to true e.Cancel = Me.preventSpellCheckDialogOpenning End Sub
using System.Windows.Forms; using Infragistics.Win.UltraWinSpellChecker; //Keep a flag which determines whether or not to prevent the spell check dialog from showing private bool preventSpellCheckDialogOpenning = true; private void ultraSpellChecker1_SpellCheckDialogOpening( object sender, SpellCheckDialogOpeningEventArgs e ) { //Don't allow the spell check dialog to show if the flag is set to true e.Cancel = this.preventSpellCheckDialogOpenning; }
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