SystemColors.Highlight 属性

定义

获取 Color 结构,它是选定项的背景色。Gets a Color structure that is the color of the background of selected items.

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

属性值

一个 Color,它是选定项的背景的颜色。A Color that is the color of the background of selected items.

注解

选定的项可能包含菜单项和选定文本。Selected items may include menu items as well as selected text. 例如,Color 结构可以是用于列表框中选定项的背景的颜色。For example, the Color structure may be the color used for the background of selected items in a list box.

适用于