SftTree/DLL 7.5 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 3.0 - Button Control
SftMask/OCX 7.0 - Masked Edit Control
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 7.5 - Tree Control
SftPrintPreview/DLL 2.0 - Print Preview Control (discontinued)
SftTree/DLL 7.5 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 3.0 - Button Control
SftDirectory 3.5 - File/Folder Control (discontinued)
SftMask/OCX 7.0 - Masked Edit Control
SftOptions 1.0 - Registry/INI Control (discontinued)
SftPrintPreview/OCX 1.0 - Print Preview Control (discontinued)
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 7.5 - Tree Control
SftTabs/NET 6.0 - Tab Control (discontinued)
SftTree/NET 2.0 - Tree Control
Defines the default value for the CellBaseClass.MergeWithLower property for cells in column footers, whether cells are eligible to merge with cells below, in the same column.
Class: FootersClass
Namespace: Softelvdm.SftTreeNET
Assembly: Softelvdm.SftTreeNET
public bool MergeWithLowerDefault { get; set; }
Public Property MergeWithLowerDefault As Boolean
True if cells are eligible to merge with the cell below, otherwise False.
The default value is False.
Defines the default value for the CellBaseClass.MergeWithLower property for cells in column footers, whether cells are eligible to merge with cells below, in the same column.
The default settings for cell merging can be defined using these properties: HeadersClass.MergeWithLowerDefault for column headers, FootersClass.MergeWithLowerDefault for column footers and ColumnClass.MergeWithLowerDefault for each column.
FootersClass.MergeWithNextDefault and MergeWithLowerDefault should not be set to True at the same time to avoid intersecting merged cells (vertically and horizontally).
// set merging default for each column foreach (ColumnClass col in sftTree1.Columns.Collection) { col.MergeWithLowerDefault = true; col.AllowMergeFromUpperDefault = true; } // set merging default for headers and footers sftTree1.Headers.MergeWithLowerDefault = true; sftTree1.Headers.AllowMergeFromUpperDefault = true; sftTree1.Footers.MergeWithLowerDefault = true; sftTree1.Footers.AllowMergeFromUpperDefault = true; // Horizontally merge column header cells in row 1, columns 1 through 4 for (int c = 1 ; c <= 4 ; ++c) { sftTree1.Headers[1, c].AllowMergeFromPrevious = BoolOptionalEnum.True; sftTree1.Headers[1, c].MergeWithNext = BoolOptionalEnum.True; sftTree1.Headers[1, c].Parts.Clear();
' set merging default for each column For Each col As ColumnClass In sftTree1.Columns.Collection col.MergeWithLowerDefault = True col.AllowMergeFromUpperDefault = True Next ' set merging default for headers and footers sftTree1.Headers.MergeWithLowerDefault = True sftTree1.Headers.AllowMergeFromUpperDefault = True sftTree1.Footers.MergeWithLowerDefault = True sftTree1.Footers.AllowMergeFromUpperDefault = True ' Horizontally merge column header cells in row 1, columns 1 through 4 For c As Integer = 1 To 4 sftTree1.Headers(1, c).AllowMergeFromPrevious = BoolOptionalEnum.True sftTree1.Headers(1, c).MergeWithNext = BoolOptionalEnum.True sftTree1.Headers(1, c).Parts.Clear()
See Also FootersClass Class | Classes | SftTree/NET 2.0