Is there a way to have the application not use the Windows theme settings such as those for high-contrast mode?
All I'm seeing right now is the explicitly define each and every color as I want it to be so the OS does not use a default.
There's the App Stylist but I'm not using a theme currently and would have to build or modify one and I believe would still have to define all those individual settings.
Thanks
Hi David,
The method you describe is also the method I would recommend. Using AppStylist will make it easy to style our controls to your specifications. Choosing to turn off OS Themes can also be done in code by setting the UseOSThemes property on many of our controls. Please let me know if you need assistance applying any specific type of styling and I can direct you on how to do it through AppStylist.
Additionally, may I ask about why you need to ignore high-contrast mode? Normally, this would not be recommended, as users may prefer high-contrast mode because they find it easier to use.
It's looking more and more like using App Stylist starting from a blank library and selecting 'Yes, Turn Off' for turning off system themes when creating the library is going to be the way to go. From there I can explicitly set theme options that will override the underlying OS defaults. Later I'll detect if the user is using high contrast via SystemInformation.HighContrast and load another isl file for a custom high contrast theme.
Other than the above it seems I'd need to override each control's styling in code without using an isl file.