This sample demonstrates how a developer can use resource management to display visuals appropriate for the contrast settings of the system.

The resource loader will automatically replace the image's source of button.svg to button.contrast-high.svg when the starts up in High Contrast mode

Please place the system into High Contrast Mode and restart the sample.

When the sample starts when the system has a High Contrast theme applied, the High Contrast asset is loaded instead of the original asset.