Back to Devexpress

PredefinedThemePalettes.EnhancedContrast Property

wpf-devexpress-dot-xpf-dot-core-dot-predefinedthemepalettes.md

latest2.4 KB
Original Source

PredefinedThemePalettes.EnhancedContrast Property

The Enhanced Contrast predefined theme palette.

Namespace : DevExpress.Xpf.Core

Assembly : DevExpress.Xpf.Core.v25.2.dll

NuGet Package : DevExpress.Wpf.Core

Declaration

csharp
public static PredefinedThemePalette EnhancedContrast { get; }
vb
Public Shared ReadOnly Property EnhancedContrast As PredefinedThemePalette

Property Value

TypeDescription
PredefinedThemePalette

The Enhanced Contrast predefined theme palette.

|

Remarks

The Enhanced Contrast predefined palette uses color combinations that help people with vision impairment distinguish text, borders, selection states, and other visual elements.

You can use the palette with the following application themes:

Apply the Palette In Code

  1. Reference the Mono.cecil NuGet package in your project.
  2. Call the Theme.RegisterPredefinedPaletteThemes method to enable predefined palettes.
  3. Set the ApplicationThemeHelper.ApplicationThemeName property to the predefined palette name and base theme name combination.

See Also

Accessibility Support

PredefinedThemePalettes Class

PredefinedThemePalettes Members

DevExpress.Xpf.Core Namespace