Hide

SftTree/NET 2.0 - Tree Control for Windows Forms

Display
Print

EvaluatedAllowMergeFromPrevious Property, CellBaseClass Class

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

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

Syntax

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

Value

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

Comments

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

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

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