Code snippets referencing system colors from the active high contrast theme, in five UI frameworks

This post demonstrates how to reference appropriate system colors for button text and button background when a high contrast theme is active. The snippets relate to HTML, XAML, WinForms, WPF and Win32.   Introduction A couple of weeks ago I asked a dev about the UI frameworks that were being used in his feature’s UI….