HeaderPane
Main
Hide
Share Link
Print

Data Property, SftBoxCell Object

Defines the cell's application specific numeric value.

Syntax

Get

C#int Number = object.Data;
VB.NETNumber = object.Data As Integer
C++LONG_PTR Number = object->Data;
LONG_PTR Number = object->GetData();
CHRESULT object->get_Data(LONG_PTR* Number);

Put

C#int object.Data = Number;
VB.NETobject.Data = Number As Integer
C++LONG_PTR object->Data = Number;
void object->PutData(LONG_PTR Number);
CHRESULT object->put_Data(LONG_PTR Number);

object

A SftBoxCell object.

Number

Defines the cell's application specific numeric value. This data is application defined, but is also used by the Items.AddFontNames, AddFontStyles, AddFontSizes methods.

Comments

The Data property defines the cell's application specific numeric value.

The Items.AddFontNames, Items.AddFontStyles, Items.AddFontSizes methods store additional information in the Data property for each item added.

The Data property can be used for sorting purposes using the Items.Sort method or can be located using the Items.FindCellData method.

The Cell.DataString, Cell.DataObject, Cell.DataTag properties can be used to store additional application specific data, using other data types (strings, objects, variants).

Additional properties used to associate an application defined value with an item are Item.Data, Item.DataTag and Item.DataObject. These are distinct properties and can be used at the same time.

See Also SftBoxCell Object | Object Hierarchy


Last Updated 11/22/2026 - (email)
© 2026 Softel vdm, Inc.