How to set a template to a grid header in VIBlend Silverlight DataGrid?
|
Article Information
|
Article relates to VIBlend DataGrid for Silverlight
|
How To
|
Create and set a DataTemplate to a HierarchyItem object in VIBlend DataGrid for Silverlight.
|
Solution
|
To achieve this, follow these steps:
|
1. Specify the DataGrid's namespace.
|
|
2. Create a new DataGrid instance and add its BoundFields.
|
|
3. Create a DataTemplate which will be applied to a HierarchyItem object.
|
|
4. Apply the DataTemplate.
|
|
|