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; }
Public ReadOnly Property Culture As System.Globalization.CultureInfo

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());
}
Dim myMisspelledWord As TXTextControl.MisspelledWord = New TXTextControl.MisspelledWord(1, 4)
Dim myMisspelledWordCultureInfo As System.Globalization.CultureInfo = myMisspelledWord.Culture

If myMisspelledWordCultureInfo Is Nothing Then
    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())
End If

Limitations

Read only.