Hide

SftTree/NET 2.0 - Tree Control for Windows Forms

Display
Print

UpperMainCell Property, CellBaseClass Class

Returns the next main cell above the current cell.

Class: CellBaseClass
Namespace: Softelvdm.Controls
Assembly: Softelvdm.SftTreeNET

Syntax

public virtual CellBaseClass UpperMainCell { get; }
Public ReadOnly Overridable Property UpperMainCell As CellBaseClass

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.

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.

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

See Also CellBaseClass Class | Classes | SftTree/NET 2.0