TX Text Control .NET for Windows Forms Documentation

Selection.FormattingStyle Property

Gets or sets the formatting style of the selected text.

Introduced: 10.1.

Syntax

[C#] public string FormattingStyle { get; set; }
[Visual Basic] Public Property FormattingStyle() As String

Remarks

The property returns an empty string when the text selection contains multiple characters with different styles. The Selection.IsCommonValueSelected method can be used to check for mixed attributes.

Limitations

Runtime only.

See Also

 
 
 

Products

Support

Downloads

Corporate

Buy Now