How to Set DevExpress WPF GridControl Look And Feel?
-
09-07-2021 - |
Question
Can anybody help me with changing the look and feels for the DevExpress Grid Control.Right now I am getting a blue Grid Control , my best guess is that I need to change the default theme from DevExpress.Xpf.Themes.DeepBlue.v12.1 to something else.Can anybody help me with this.
Thanks in Advance
Solution
XAML:
xmlns:dx="http://schemas.devexpress.com/winfx/2008/xaml/core"
dx:ThemeManager.ThemeName="Office2007Black">
OTHER TIPS
You should only set the ThemeManager.ThemeName property:
<Window x:Class="WpfApplication5.Window1"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:dx="http://schemas.devexpress.com/winfx/2008/xaml/core"
Title="Window1" Height="300" Width="300"
dx:ThemeManager.ThemeName="Office2007Black">
...
</Window>
Related link: DevExpress WPF Themes
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow