Skip to main content

VGridControlBase.GetCellDisplayText(BaseRow, Int32) Method

Returns the display text of the specified cell.

Namespace: DevExpress.XtraVerticalGrid

Assembly: DevExpress.XtraVerticalGrid.v23.2.dll

NuGet Packages: DevExpress.Win.Navigation, DevExpress.Win.VerticalGrid

Declaration

public string GetCellDisplayText(
    BaseRow row,
    int recordIndex
)

Parameters

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.

Returns

Type Description
String

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

Remarks

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