Modern themes (VS2017, Office2016SE) now use new lightweight templates for the Button, TextBox, ListBox, CheckBox, ProgressBar, ScrollViewer, and Slider controls. Lightweight templates provide better performance and support appearance customization properties that didn't work before. This leads to the following changes:
- The BorderBrush, Background, Foreground, and BorderThickness properties now work in all controls. If you set one of these properties previously and did not notice any difference, the appearance of your application may change after the upgrade.
- The internal {dx:ButtonThemeKey ResourceKey=ButtonControlTemplate} resource containing the Button template is not used any more - standard Buttons use the {dx:ButtonThemeKey ResourceKey=LightweightTemplate} resource instead. If you changed this resource in previous versions and want to keep your modifications, set the CompatibilitySettings.UseLightweightTemplatesInStandardButtons property to false.