​
​
​

Gets or sets the formatting style of the selected text.

​ Introduced: 10.1.

Syntax

​public string FormattingStyle { get; set; }
​Public Property FormattingStyle() As String
​

Limitations

Runtime only.

​

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.

​