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.
When working with GridControl, you may need to write code that accesses particular column properties or that passes column objects as method parameters, etc. You may also require column objects for event parameters. This topic provides information on how to access and identify columns programmatically.
The table below lists properties and XAML attributes that allow you to identify grid columns.
Uniquely identifies a column so that it can be accessed from code-behind or general code.
Since columns are contained within the grid's GridControl.Columns collection, an individual column can be accessed by the name of the field to which the required column is bound, or using indexed notation:
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.