SftTree/NET 2.0

LevelIndent Property, DimensionsClass Class

Softel vdm, Inc.

Defines the indentation for item levels.

Syntax      DimensionsClass Class (Softelvdm.SftTreeNET)

VB   

Public Property LevelIndent As Integer

C#   

public int LevelIndent { get; set; }

C++   

public: property int LevelIndent {
        int get();
        void set(int value);
}

Property Value

The indentation in pixels.

The default value is 16.

Comments

The LevelIndent property defines the indentation for item levels.

The specified width is the indentation for each level. If expand/collapse buttons (ShowExpandCollapseButtons) or item images (ItemClass.Image) are shown, the indentation is the minimum indentation. Items are automatically indented more, to accommodate expand/collapse buttons or item images.

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, may no longer have sufficient space and must be turned off by the application.


Feedback / comments / error reports for this topic
© 2007 - Softel vdm, Inc. - www.softelvdm.com