Skip to main content
A newer version of this page is available. .

VGridControlBase.GetCellDisplayText(RowProperties, Int32) Method

Returns the display text of the specified cell.

Namespace: DevExpress.XtraVerticalGrid

Assembly: DevExpress.XtraVerticalGrid.v18.2.dll

Declaration

public string GetCellDisplayText(
    RowProperties rowProperties,
    int recordIndex
)

Parameters

Name Type Description
rowProperties RowProperties

A RowProperties object that identifies a row.

recordIndex Int32

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

Returns

Type Description
String

A System.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