Hide

SftTree/NET 2.0 - Tree Control for Windows Forms

Display
Print

PreviousMainCell Property, CellClass Class

Returns the next main cell preceding the current cell.

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

Syntax

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

Value

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

Comments

Returns the next main cell preceding the current cell.

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

ColumnClass.PreviousDisplayed can be used to navigate from one cell to the previous cell. This moves from one cell to the next without taking cell merging into account. PreviousMainCell will skip cells that are merged and locates the next main cell.

PreviousMainCell will not wrap around when the cell is in the first column.

CellClass.NextMainCell returns the next main cell to the right, CellClass.UpperMainCell and CellClass.LowerMainCell locate the upper and lower cell respectively.

See Also CellClass Class | Classes | SftTree/NET 2.0



Spring Break!

Our offices will be closed this week (March 18 through March 22).

We'll be back March 24 to address any pending sales and support issues.