Hide

SftTree/NET 2.0 - Tree Control for Windows Forms

Display
Print

UpperMainCell Property, CellClass Class

Returns the next main cell above the current cell.

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

Syntax

public CellClass UpperMainCell { get; }
Public ReadOnly Property UpperMainCell As CellClass

Value

The next main cell or null/Nothing if no more cells are present.

Comments

Returns the next main cell above the current cell.

Main cells can consist of many subordinate cells. In order to navigate from one main cell to another, the UpperMainCell property can be used.

ItemClass.Previous can be used to navigate from one item to the next item below. This moves from one item to the next without taking cell merging into account. UpperMainCell will skip any items and cells that are merged and locates the next main cell above the current cell.

CellClass.LowerMainCell returns the main cell below, CellClass.PreviousMainCell and CellClass.NextMainCell locate the previous and next adjacent cell respectively.

See Also CellClass Class | Classes | SftTree/NET 2.0