How to change the theme of VIBlend Silverlight DataGrid?
|
Article Information
|
Article relates to VIBlend DataGrid for Silverlight
|
How To
|
Load and set the Theme of VIBlend Silverlight 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.Silverlight.Theme.Office2010Black.dll which is included in the VIBlend Controls for Silverlight package.
|
|
4. Apply the Theme.
|
|
|