Skip to main content

VGridControlBase.GetCellDisplayText(BaseRow, Int32) Method

Returns the display text of the specified cell.

Namespace: DevExpress.XtraVerticalGrid

Assembly: DevExpress.XtraVerticalGrid.v23.1.dll

NuGet Package: DevExpress.Win.VerticalGrid


public string GetCellDisplayText(
    BaseRow row,
    int recordIndex


Name Type Description
row BaseRow

A BaseRow descendant that represents the row where the desired cell resides.

recordIndex Int32

A zero-based integer that specifies the index of the record which contains the cell.


Type Description

A String value that represents the cell’s display text.


The GetCellDisplayText method returns a textual representation of a specific cell value. The returned string is formatted as specified by the row’s RowProperties.Format property.

To obtain the cell’s value, use the VGridControlBase.GetCellValue method.

See Also