HeaderPane
Main
Hide
Share Link
Print

HighContrastMode Property, SoftelvdmUserControl Class

Defines whether the control uses the colors of the Windows contrast theme.

Class: SoftelvdmUserControl
Namespace: Softelvdm.SftTabsNET.Controls
Assembly: Softelvdm.SftTabsNET

Syntax

public HighContrastModeEnum HighContrastMode { get; set; }
Public Property HighContrastMode As HighContrastModeEnum

Value

The high contrast setting.

The default value is HighContrastModeEnum.Off.

Comments

Defines whether the control uses the colors of the Windows contrast theme.

In high contrast mode, the control draws all its elements using the system colors of the user's contrast theme. Colors defined by the application for the control, its tabs and parts are ignored.

With HighContrastModeEnum.Auto, the control follows the Windows contrast theme setting (Settings, Accessibility, Contrast themes) and switches when that setting changes. The SoftelvdmUserControl.HighContrastActive property returns the resulting state.

High contrast mode takes precedence over dark mode.

See Also SoftelvdmUserControl Class | Classes | SftTabs/NET 3.0