1. Make sure your project has referenced this DataGridThemes project.
2. For the Window or UserControl which has the DataGrid you're working on, insert the URI to the ResourceDictionary you want into its Resources tag. For example,

 <Window.Resources>
<ResourceDictionary Source="/DataGridThemes;component/WhistlerBlue.xaml" />
</Window.Resources>
...
<DataGrid ... />

Alternatively, you can place the ResourceDictionary reference shown above in your App.xaml file.

3. The theme should be applied to your DataGrid and visible when you run your application.

Last edited Feb 24, 2011 at 3:44 AM by TWebster, version 3

Comments

No comments yet.