How to change the theme of VIBlend WPF DataGrid?
|
Article Information
|
Article relates to VIBlend DataGrid for WPF
|
How To
|
Load and set the Theme of VIBlend WPF DataGrid
|
Solution
|
To achieve this, follow these steps:
|
1. Specify the DataGrid's namespace.
|
|
2. Create a new DataGrid instance.
|
|
3. Load the Theme xaml files. Please note that you will need to add a reference to the assembly of the Theme which you want to use. In this article, we use the VIBlend.WPF.Theme.Office2010Black.dll which is included in the VIBlend Controls for WPF package.
|
|
4. Apply the Theme.
|
|
|