This documentation topic describes legacy technology. We no longer develop new functionality for the GridControl and suggest that you use the new DataGridView control instead.
GridControl provides various ways to customize the appearance of its elements. For simple customizations (such as modifying colors, fonts, etc.) use appropriate customizer objects. If you need to completely modify the appearance of a particular grid element, you can define a custom template for it.
The HeaderTemplate property allows you to define a data template for a column header. If you need to define a custom template for column cells, create a TemplateColumn object, assign a custom template to a column's TemplateColumn.DisplayTemplate property and add this templated column to the GridControl.Columns collection.
We are updating the DevExpress product documentation website and this page is part of our new experience. During this transition period, product documentation remains available in our previous format at documentation.devexpress.com. Learn More...
Was this page helpful?
Thanks for your feedback! Any other suggestions? Tell us here.