Gets the culture of the misspelled word. If there is no specific culture, the property value is null.

Introduced: X10.

Syntax

public System.Globalization.CultureInfo Culture { get; }

Examples

The following example describes how to use the 'TXTextControl.MisspelledWord.Culture' property by storing it in a variable of the type 'System.Globalization.CultureInfo'.

TXTextControl.MisspelledWord myMisspelledWord = new TXTextControl.MisspelledWord(1,4);
System.Globalization.CultureInfo myMisspelledWordCultureInfo = myMisspelledWord.Culture;

if (myMisspelledWordCultureInfo == null) {
    System.Windows.Forms.MessageBox.Show("The selected misspelled word has no specific culture!");
}
else {
    System.Windows.Forms.MessageBox.Show("The specific culture of the misspelled word is: " + myMisspelledWordCultureInfo.ToString());
}

Limitations

Read only.