[Expand]General Information
[Collapse]WinForms Controls
 [Expand]What's Installed
 [Expand]Build an Application
 [Collapse]Controls and Libraries
  [Expand]Forms and User Controls
  [Expand]Messages, Notifications, and Dialogs
  [Expand]Editors and Simple Controls
  [Expand]Ribbon, Bars and Menu
  [Expand]Application UI Manager
  [Expand]Docking Library
  [Expand]Data Grid
  [Collapse]Vertical Grid
   [Expand]Binding to Data
   [Collapse]Data Layout: Records, Rows and Cells
      Obtaining and Setting Cell Values
    [Expand]Customization Form
     Data Layout: Records, Rows, and Cells
   [Expand]Data Editing and Validation
    Formatting Values
   [Expand]Drag and Drop
   [Expand]Appearance and Custom Painting
   [Expand]Visual Elements
   [Expand]Design-Time Features
   [Expand]End-User Capabilities
    Hit Information
    Batch Modifications
   [Expand]Member Tables
  [Expand]Property Grid
  [Expand]Pivot Grid
  [Expand]Member Tables
  [Expand]Tree List
  [Expand]Chart Control
  [Expand]Map Control
  [Expand]Rich Text Editor
  [Expand]Spell Checker
  [Expand]Form Layout Managers
  [Expand]Navigation Controls
  [Expand]PDF Viewer
  [Expand]TreeMap Control
  [Expand]Sunburst Control
 [Expand]Common Features
  Get More Help
 [Expand]API Reference
[Expand]ASP.NET Controls and MVC Extensions
[Expand]ASP.NET Bootstrap Controls
[Expand]ASP.NET Core Bootstrap Controls
[Expand]WPF Controls
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Office File API
[Expand]Report and Dashboard Server
[Expand]eXpressApp Framework
[Expand]eXpress Persistent Objects
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation
View this topic on docs.devexpress.com (Learn more)


There are three main building blocks of data representation in the vertical grids (VGridControl and PropertyGridControl). These are Rows, Records and cells. This topic explains the cell notion, provides information on how cells can be identified and how styles can be applied to them.

Expanded Cells Overview

Only editor rows and multi-editor rows can display data cells. Editor rows display a single cell in each record while multi-editor rows are capable of displaying several cells per record. Speaking more precisely, editor rows always contain a single row item. Multi-editor rows can hold a collection of row items. Each row item displays a single cell in each record.

When designing your applications, you might need to identify a particular cell. For instance, this could be needed when using the VGridControlBase.GetCellValue or VGridControlBase.SetCellValue methods. The following methods of cell identification are available:

  • Identifying a cell by the row object and record index. This method can only be used for cells that reside within editor rows.
  • Identifying a cell by the row object, record index and cell index. This method can be applied to both editor and multi-editor rows. However, it is likely to be used only for multi-editor rows since the cell index parameter is redundant for editor rows (it is always zero in this case).
  • Identifying a cell by the row properties object (representing the row item) and record index. This method is also applicable to editor and multi-editor rows.

The image below shows examples of data cells located within editor rows and multi-editor rows. It also illustrates the methods of identifying the cells listed above.

Expanded See Also

Is this topic helpful?​​​​​​​