SystemMonitor.Highlight property

Retrieves or sets a value indicating whether the values of the selected counters are highlighted in the graph.

This property is read-only.

Syntax

Property Highlight As Boolean

Property value

True indicates that the values of the selected counters are highlighted in the graph; otherwise, False. The default value is False.

Remarks

To select one or more counters, you can set CounterItem.Selected to True, or the user can select the counters from the list of counters shown in the Legend.

Prior to Windows Vista: You cannot programmatically select counters and the user can select only one counter from the list of counters shown in the Legend.

Highlighting can be black or white, depending on the value of the BackColor property. The highlighting is automatically set to the color that will provide sufficient contrast between highlight color and the background color.

Requirements

Requirement Value
Minimum supported client
Windows 2000 Professional [desktop apps only]
Minimum supported server
Windows 2000 Server [desktop apps only]
DLL
Sysmon.ocx

See also

SystemMonitor

CounterItem.Selected