Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

VGridControlBase.GetCellDisplayText(RowProperties, Int32) Method

Returns the display text of the specified cell.

Namespace: DevExpress.XtraVerticalGrid

Assembly: DevExpress.XtraVerticalGrid.v24.2.dll

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

#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 cell value. The returned string is formatted according to the row’s RowProperties.DisplayFormat property.

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

See Also