Hide

SftTree/NET 2.0 - Tree Control for Windows Forms

Display
Print

EvaluatedAllowMergeFromUpper Property, CellBaseClass Class

Returns whether this cell is eligible to be used for cell merging by the cell above.

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

Syntax

public bool EvaluatedAllowMergeFromUpper { get; }
Public ReadOnly Property EvaluatedAllowMergeFromUpper As Boolean

Value

True if this cell is eligible to be used for cell merging by the cell above, otherwise False.

Comments

Returns whether this cell is eligible to be used for cell merging by the cell above.

For cell merging to take effect, the upper cell merging into this cell must have its CellBaseClass.EvaluatedMergeWithLower property set to True. The merged cell (this cell) 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.AllowMergeFromUpperDefault for column headers, FootersClass.AllowMergeFromUpperDefault for column footers and ColumnClass.AllowMergeFromUpperDefault for each column.

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

See Also CellBaseClass Class | Classes | SftTree/NET 2.0