HeaderPane
Main
Hide
Share Link
Print

SftBoxItems.Indentation Property

Defines the indentation for item levels.

Syntax

Get

C#float Indent = object.Indentation;
VB.NETIndent = object.Indentation As Single
C++float Indent = object->Indentation;
float Indent = object->GetIndentation();
CHRESULT object->get_Indentation(float* Indent);
VBIndent = object.Indentation As Single

Put

C#float object.Indentation = Indent;
VB.NETobject.Indentation = Indent As Single
C++float object->Indentation = Indent;
void object->PutIndentation(float Indent);
CHRESULT object->put_Indentation(float Indent);
VBobject.Indentation = Indent As Single

object

A SftBoxItems object.

Indent

Defines the indentation for item levels. If -1 is specified, the control determines the best indentation, based on item graphic width, font size, etc. The units used depend on the container (Visual Basic, Visual C++, etc.) and the coordinate system used.

Comments

The Indentation property defines the indentation for item levels.

The Indentation and Items.IndentationPix methods are synonyms, but may use different coordinate systems.

Each item is indented the specified amount for each level.

It is possible to specify a very small value or even 0 for the level indentation. With such a small value, the hierarchy and its components, such as tree lines, expand/collapse buttons may no longer have sufficient space and must be turned off by the application.

See Also SftBoxItems Object | Object Hierarchy


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