VisualStyleInformation.ControlHighlightHot Property

 

Gets the color that the current visual style uses to indicate the hot state of a control.

Namespace:   System.Windows.Forms.VisualStyles
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

public static Color ControlHighlightHot { get; }

Property Value

Type: System.Drawing.Color

If visual styles are enabled, the Color used to paint a highlight on a control in the hot state; otherwise, SystemColors.ButtonHighlight.

This property checks the values of the IsEnabledByUser and VisualStyleRenderer.IsSupported properties internally.

.NET Framework
Available since 2.0
Return to top
Show: