Hide

SftTree/NET 2.0 - Tree Control for Windows Forms

Display
Print

NextMainCell Property, CellBaseClass Class

Returns the next main cell following the current cell.

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

Syntax

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

Value

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

Comments

Returns the next main cell following the current cell.

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

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

NextMainCell will not wrap around when the cell is in the last column.

CellBaseClass.PreviousMainCell returns the next main cell to the left, CellBaseClass.UpperMainCell and CellBaseClass.LowerMainCell locate the upper and lower cell respectively.

See Also CellBaseClass 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.