TXTextControl.Selection.Culture Property

Gets or sets the culture of the selected text.

Introduced: 20.0.


public CultureInfo Culture { get; set; }
[Visual Basic]
Public Property Culture() As CultureInfo


The property's default value is null, which means a neutral culture.

The property returns its default value when the text selection contains multiple characters with mixed culture settings. The Selection.IsCommonValueSelected method can be used to check for mixed attributes.


Runtime only.

See Also