HeaderPane
Main
Hide

SftTree/NET 3.0 - Tree Control for Windows Forms

Share Link
Print

MergeWithLower Property, CellBaseClass Class

Returns whether this cell is eligible to merge with the cell below.

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

Syntax

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

Value

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

The default value is BoolOptionalEnum.Default.

Comments

Returns whether this cell is eligible to merge with the cell below.

For cell merging to take effect, this cell must have its CellBaseClass.EvaluatedMergeWithLower property set to True. The merged cell (the cell below) must have its property CellBaseClass.EvaluatedAllowMergeFromUpper set to True to indicate that it is a candidate for cell merging. In addition, all cells involved in cell merging must either have the same cell text or all subordinate cells must be empty.

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

The CellBaseClass.EvaluatedMergeWithLower 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