TextBoxBase.SelectionTextBrush 属性

定义

获取或设置一个值,此值定义用于所选文本的画笔。Gets or sets a value that defines the brush used for selected text.

public:
 property System::Windows::Media::Brush ^ SelectionTextBrush { System::Windows::Media::Brush ^ get(); void set(System::Windows::Media::Brush ^ value); };
public System.Windows.Media.Brush SelectionTextBrush { get; set; }
member this.SelectionTextBrush : System.Windows.Media.Brush with get, set
Public Property SelectionTextBrush As Brush

属性值

用于所选文本的画笔。The brush used for selected text.

注解

默认值为SolidColorBrush带有突出显示文本的系统定义颜色。The default value is a SolidColorBrush with the system-defined color for highlighted text.

适用于