VGridControlBase.GetCellDisplayText(RowProperties, Int32) Method
In This Article
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 |
---|---|---|
row |
Row |
A Row |
record |
Int32 | A zero-based integer that specifies the index of the record which contains the cell. |
#Returns
Type | Description |
---|---|
String | A System. |
#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