TextBoxBase.SelectionTextBrush Property

Definition

Gets or sets a value that defines the brush used for selected text.

C#
public System.Windows.Media.Brush SelectionTextBrush { get; set; }

Property Value

The brush used for selected text.

Remarks

The default value is a SolidColorBrush with the system-defined color for highlighted text.

Applies to

Produkt Verzie
.NET Framework 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10