Limitations
Read only.
Gets the culture of the misspelled word. If there is no specific culture, the property value is null.
Introduced: X10.
public System.Globalization.CultureInfo Culture { get; }
Public ReadOnly Property Culture As System.Globalization.CultureInfo
The following example describes how to use the 'TXText
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
Read only.