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.MergeWithNext property for cells in column headers, whether cells are eligible to merge with the next adjacent cell.
Class: HeadersClass
Namespace: Softelvdm.SftTreeNET
Assembly: Softelvdm.SftTreeNET
public bool MergeWithNextDefault { get; set; }
Public Property MergeWithNextDefault As Boolean
True if cells are eligible to merge with the next adjacent cell, otherwise False.
The default value is False.
Defines the default value for the CellBaseClass.MergeWithNext property for cells in column headers, whether cells are eligible to merge with the next adjacent cell.
The default settings for cell merging can be defined using these properties: HeadersClass.MergeWithNextDefault for column headers, FootersClass.MergeWithNextDefault for column footers and ColumnClass.MergeWithNextDefault for each column.
MergeWithNextDefault and HeadersClass.MergeWithLowerDefault should not be set to True at the same time to avoid intersecting merged cells (vertically and horizontally).
item.Add(new string[] { p.Name, sval }); } item.Children.Sort(); } private void Form1_Load(object sender, EventArgs e) { sftTree1.Columns.Count = 2; sftTree1.Headers.Reorderable = sftTree1.Footers.Reorderable = false; sftTree1.Headers.MergeWithNextDefault = true; sftTree1.Headers.AllowMergeFromPreviousDefault = true; sftTree1.Columns[0].MergeWithNextDefault = true; sftTree1.Columns[1].AllowMergeFromPreviousDefault = true; sftTree1.MergeStyle = MergeStyleEnum.EmptyCells; sftTree1.AutoRespond = false; sftTree1.RowHeaders.Width = 0; LoadAssembly(Assembly.GetExecutingAssembly());
item.Add(New String() {p.Name, sval}) Next item.Children.Sort() End Sub Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load sftTree1.Columns.Count = 2 sftTree1.Headers.Reorderable = sftTree1.Footers.Reorderable = False sftTree1.Headers.MergeWithNextDefault = True sftTree1.Headers.AllowMergeFromPreviousDefault = True sftTree1.Columns(0).MergeWithNextDefault = True sftTree1.Columns(1).AllowMergeFromPreviousDefault = True sftTree1.MergeStyle = MergeStyleEnum.EmptyCells sftTree1.AutoRespond = False sftTree1.RowHeaders.Width = 0 LoadAssembly(Assembly.GetExecutingAssembly())
See Also HeadersClass Class | Classes | SftTree/NET 2.0