HeaderPane
Main
Hide
Share Link
Print

Count Property, SftBoxColumns Object

Defines the number of columns.

Syntax

Get

C#short Cols = object.Count;
VB.NETCols = object.Count As Short
C++short Cols = object->Count;
short Cols = object->GetCount();
CHRESULT object->get_Count(short* Cols);

Put

C#short object.Count = Cols;
VB.NETobject.Count = Cols As Short
C++short object->Count = Cols;
void object->PutCount(short Cols);
CHRESULT object->put_Count(short Cols);

object

A SftBoxColumns object.

Cols

Defines the number of columns. Up to 40 columns can be defined.

Comments

The Count property defines the number of columns.

The number of columns can only be changed if the control is empty. The Items.Clear method can be used to remove all items from the control.

Additional columns are always added at the end of the list of columns. Existing column properties are not changed. Default values are used for the new columns added. These can be changed using the column related properties of the SftBoxColumn objects. The last column will be defined using an explicit column width. If an open-ended column is desired, use the Columns.OpenEnded property to redefine the last column.

See Also SftBoxColumns Object | Object Hierarchy


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