TXTextControl.Selection.Culture Property

Gets or sets the culture of the selected text.

Introduced: 20.0.

Syntax

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

Remarks

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.

Limitations

Runtime only.

See Also