TX Spell .NET for WPF

LanguageScopes Property

Property|Introduced in 5.0
Namespace
TXTextControl.WPF.Proofing
Package
TXTextControl.TXSpell.WPF.SDK as TXSpell.WPF.dll from the private NuGet feed or Text Control Offline Packages

Description

Gets a collection of all detected language scopes. The property's value is an object of type LanguageScopeCollection.

Syntax

public LanguageScopeCollection LanguageScopes { get; }

Examples

The following example iterates through the language scopes collection and processes each language scope.

foreach (TXTextControl.Proofing.LanguageScope languageScope in tXSpellChecker.LanguageScopes)
{
    Console.WriteLine(languageScope.Start);
}

Limitations

Read only.