System.Windows.Forms.RichTextBox.SelectionBackColor Property

Gets or sets the color of text when the text is selected in a System.Windows.Forms.RichTextBox control.

Syntax

[System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
[System.ComponentModel.Browsable(false)]
public System.Drawing.Color SelectionBackColor { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

Use RichTextBox.SelectionBackColor to get or set the color of selected text in the System.Windows.Forms.RichTextBox. If no text is currently selected, the RichTextBox.SelectionBackColor property applies to the current position of the caret. Characters that are entered from that position have the specified RichTextBox.SelectionBackColor.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 2.0.0.0