TXTextControl.ParagraphFormat.BackColor Property

Gets or sets the background color of a paragraph. If the background color is transparent, the paragraph's background is the same as the control's background color.

Introduced: 24.0.

Syntax

[C#]
public System.Drawing.Color BackColor { get; set; }
[Visual Basic]
Public Property BackColor() As System.Drawing.Color

Remarks

The property's default value is Color.Transparent.

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

See Also