Hide

SftTree/NET 2.0 - Tree Control for Windows Forms

Display
Print

OverheadWidth Property, CellClass Class

Returns the width of the area, part of this cell, used to display the hierarchy area.

Class: CellClass
Namespace: Softelvdm.SftTreeNET
Assembly: Softelvdm.SftTreeNET

Syntax

public int OverheadWidth { get; }
Public ReadOnly Property OverheadWidth As Integer

Value

The width of the area used to display the hierarchy area.

Comments

Returns the width of the area, part of this cell, used to display the hierarchy area.

Only hierarchy columns add an additional overhead to a column's width. If the cell is not part of the hierarchy column, the CellClass.OverheadWidth property returns 0.

Due to the variable number of levels and the resulting hierarchical display, the width of the hierarchy area is variable, depending on item level. The CellClass.OverheadWidth property returns the width of the area reserved for non-cell displays, such as expand/collapse button, tree lines and item image.

See Also CellClass Class | Classes | SftTree/NET 2.0