Language Property
- Namespace
TXTextControl.Proofing
- Package
TXTextControl.asTXSpell. WPF. SDK TXSpell.from the private NuGet feed or Text Control Offline Packagesdll
- Also in
TXTextControl.asTXSpell. Core. SDK TXSpell.dll
Description
Gets a value indicating the language the incorrect word was spelled. If no specific language was defined, the property returns null.
Syntax
public CultureInfo Language { get; }Public ReadOnly Property Language As CultureInfoExamples
The following example includes the language value in application diagnostics. The created object is then available to the surrounding document workflow.
Console.WriteLine($"Language: {incorrectWord.Language}");
Console.WriteLine("Incorrect Word is ready for use.");Console.WriteLine($"Language: {incorrectWord.Language}")
Console.WriteLine("Incorrect Word is ready for use.")Limitations
Read only.