TX Spell .NET for WPF

Language Property

Property
Namespace
TXTextControl.Proofing
Package
TXTextControl.TXSpell.WPF.SDK as TXSpell.dll from the private NuGet feed or Text Control Offline Packages
Also in
TXTextControl.TXSpell.Core.SDK as 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; }

Examples

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.");

Limitations

Read only.