Gets or sets the value indicating whether the spell-checking process must be stopped or not.

Namespace:  C1.Win.C1Spell
Assembly:  C1.Win.C1Spell.2 (in C1.Win.C1Spell.2.dll)

Syntax

C#
[DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden)]
[BrowsableAttribute(false)]
public bool CancelSpelling { get; set; }
Visual Basic (Declaration)
<DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden)> _
<BrowsableAttribute(False)> _
Public Property CancelSpelling As Boolean

Examples

The following example uses a button control for the user to indicate whether the spell-checking process must be stopped or not:

  • Visual Basic
Copy CodeC#
Private Sub btnCancel_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnCancel.Click
    C1Spell1.CancelSpelling = True
    Close()
End Sub
  • C#
Copy CodeC#
privatevoid btnCancel_Click(object sender, EventArgs e)
{
    c1Spell1.CancelSpelling = true;
    Close();
}

For an example using the CancelSpelling property, see Step 2: Create a Customized Dialog Form.

See Also