This documentation is archived and is not being maintained.

SystemPens.Highlight Property

Gets a Pen object that is the color of the background of selected items. This includes selected menu items as well as selected text. For example, the pen may be the color used for the background of selected items in a list box.

[Visual Basic]
Public Shared ReadOnly Property Highlight As Pen
[C#]
public static Pen Highlight {get;}
[C++]
public: __property static Pen* get_Highlight();
[JScript]
public static function get Highlight() : Pen;

Property Value

A Pen object that is the color of the background of selected items.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

SystemPens Class | SystemPens Members | System.Drawing Namespace

Show: