Home Products Downloads Support About

How to set a template to a grid cell in VIBlend Silverlight DataGrid? 

Article Information 

Article relates to VIBlend DataGrid for Silverlight 

How To 

Create and set a DataTemplate to a grid cell. 


To achieve this, you need to use the SetCellDataTemplate method of the DataGrid CellsArea. The following steps illustrate how to create and set a DataTemplate to a DataGrid cell.  

1. Specify the DataGrid's namespace. 


2. Create a new DataGrid instance and add its BoundFields. 


3. Create a DataTemplate which will be used as a CellDataTemplate 


4. Apply the DataTemplate. 


VIBlend Silverlight DataGrid

VIBlend Knowledge Base Home
Copyright © VIBlend  
Terms of Use | Privacy Policy
Silverlight Controls WinForms Controls Knowledge Base About Us
Silvelright DataGrid Ribbon Interface Technical Support Blog
Silverlight Editors WinForms DataGrid
Silverlight Ribbon Bar Calendar Downloads Forum
Navigation Bars Navigation Bars    
Menu & ContextMenu TreeView Report a bug Client Login
ComboBox & ListBox Tab Control    
Silverlight Pivot Table WinForms Pivot Grid Request a feature