TX Text Control .NET for Windows Forms

Culture Property

Property|Introduced in 20.0
Namespace
TXTextControl
Package
TXTextControl.TextControl.WinForms.SDK as TXTextControl.dll from the private NuGet feed or Text Control Offline Packages

Description

Gets the culture of the word to hyphenate.

Syntax

public CultureInfo Culture { get; }

Examples

The following example uses HyphenateWordEventArgs.Culture while handling HyphenateWord.

textControl.HyphenateWord += (_, e) =>
{
    Console.WriteLine($"Culture: {e.Culture}");
};