SystemColors.HighlightText 属性

定义

获取 Color 结构,它是选定项的文本颜色。Gets a Color structure that is the color of the text of selected items.

public:
 static property System::Drawing::Color HighlightText { System::Drawing::Color get(); };
public static System.Drawing.Color HighlightText { get; }
member this.HighlightText : System.Drawing.Color
Public Shared ReadOnly Property HighlightText As Color

属性值

一个 Color,它是选定项的文本的颜色。A Color that is the color of the text of selected items.

注解

例如,此颜色用于列表框中选定项的文本。For example, this color is used for the text of selected items in a list box.

适用于