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

TdxSpreadSheetCell.AsString Property

Specifies the cell object’s string value.

#Declaration

Delphi
property AsString: string read; write;

#Property Value

Type
string

#Remarks

You can use this property to:

  • Assign a new string value to the cell object (the DataType property value changes to cdtString as a result). You can call the SetText procedure to achieve the same end;

  • Read a string value stored in the cell object;

  • Interpret the cell object’s value as a Unicode string, if possible.

The AsString property returns an empty string if the cell object is empty. To identify the cell object’s actual value type, use the DataType property.

See Also