Hide

SftTree/NET 2.0 - Tree Control for Windows Forms

Display
Print

CanMergeWithPrevious Property, CellBaseClass Class

Returns whether this cell is empty and can be merged with the previous adjacent cell.

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

Syntax

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

Value

True if this cell is empty and can be merged with the previous adjacent cell, otherwise False.

Comments

Returns whether this cell is empty and can be merged with the previous adjacent cell.

This property test whether this cell allows merging with the previous cell (CellBaseClass.EvaluatedAllowMergeFromPrevious) and whether the previous cell merges into this cell (CellBaseClass.EvaluatedMergeWithNext) and whether this cell is empty. If all tests are satisfied, this property returns True indicating the cell is part of a merged cell and is a subordinate cell. Otherwise, this is a main cell and the property returns False.

See Also CellBaseClass Class | Classes | SftTree/NET 2.0