VGridControlBase.GetCellDisplayText(BaseRow, Int32) Method

Returns the display text of the specified cell.

Namespace: DevExpress.XtraVerticalGrid

Assembly: DevExpress.XtraVerticalGrid.v20.1.dll

Declaration

public string GetCellDisplayText(
    BaseRow row,
    int recordIndex
)
Public Function GetCellDisplayText(
    row As BaseRow,
    recordIndex As Integer
) As String

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