Hide

SftTree/NET 2.0 - Tree Control for Windows Forms

Display
Print

RealWidth Property, CellClass Class

Returns the physical width of the cell (not considering vertical/horizontal cell merging).

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

Syntax

public virtual int RealWidth { get; }
Public ReadOnly Overridable Property RealWidth As Integer

Value

The physical width of the cell in pixels.

Comments

Returns the physical width of the cell (not considering vertical/horizontal cell merging).

The RealWidth property returns the width of the column containing this cell.

It is possible to add more cells to an item's cell collection than there are defined columns. In that case, any cells that are not part of a column will have a RealWidth property value of 0.

The CellBaseClass.Dimensions property returns the actual size of the cell, including any merged, subordinate cells.

See Also CellClass Class | Classes | SftTree/NET 2.0