XHighContrastMode

Specifies the high contrast mode style of the closed caption text.

Syntax

enum class XHighContrastMode  : uint32_t  
{  
    Off = 0,  
    Dark = 1,  
    Light = 2,  
    Other = 3,  
}  

Constants

Constant Description
Off Closed caption text does not use high contrast mode.
Dark Closed caption text uses dark color high contrast mode.
Light Closed caption text uses light color high contrast mode.
Other Closed caption text uses a custom high contrast mode.

Remarks

You can retrieve the current high contrast mode by calling the XHighContrastGetMode function. The XHighContrastGetMode function returns a XHighContrastMode enumeration. For more information about high contrast mode, visit High-contrast mode.

Requirements

Header: XAccessibility.h

Supported platforms: Windows, Xbox One family consoles and Xbox Series consoles

See also

XAccessibility

XHighContrastGetMode

High-contrast mode