HeaderPane
Main
Hide

SftTree/NET 3.0 - Tree Control for Windows Forms

Share Link
Print

MergeWithNext Property, CellBaseClass Class

Returns whether this cell is eligible to merge with the next adjacent cell.

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

Syntax

public BoolOptionalEnum MergeWithNext { get; set; }
Public Property MergeWithNext As BoolOptionalEnum

Value

True if this cell is eligible to merge with the next adjacent cell, otherwise False.

The default value is BoolOptionalEnum.Default.

Comments

Returns whether this cell is eligible to merge with the next adjacent cell.

For cell merging to take effect, this cell must have its CellBaseClass.EvaluatedMergeWithNext property set to True. The merged cell (the next adjacent cell) must have its property CellBaseClass.EvaluatedAllowMergeFromPrevious set to True to indicate that it is a candidate for cell merging. In addition, all subordinate cells must be empty.

HeadersClass.MergeWithNextDefault for column headers, FootersClass.MergeWithNextDefault for column footers and ColumnClass.MergeWithNextDefault for each column.

The CellBaseClass.EvaluatedMergeWithNext property can be used to define the status for this cell by evaluating the default settings.

See Also CellBaseClass Class | Classes | SftTree/NET 3.0