DataCell.Constructor(Value as String)

From Xojo Documentation

Constructor

DataCell.Constructor(Value As String)

Creates a DataCell with the supplied Value.

Notes

You will need to add a property to your class to store Value so that it can be returned by the StringValue method.