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 merge style used by cells.
Class: (none)
Namespace: Softelvdm.Controls
Assembly: Softelvdm.SftTreeNET
public enum MergeStyleEnum;
Public Enum MergeStyleEnum
Name | Description |
---|---|
EmptyCells | Adjacent empty cells are used for cell merging. |
SameText | Adjacent cells with identical Text property are used for cell merging. |
Defines the merge style used by cells.
The SoftelvdmUserControl.MergeStyle property uses this enumeration.
namespace WindowsApplication1 { public partial class MergeSample1 : Form { public MergeSample1() { InitializeComponent(); } private void Form1_Load(object sender, EventArgs e) { // This sample demonstrates cell merging. In this sample, vertical merging // is based on empty subordinate cells (MergeStyle = MergeStyleEnum.EmptyCells). // To prepare for this sample, create a new project with a blank form and add // a SftTree/NET control named sftTree1. // In addition, adjust the following FromFile method to use a (small) bitmap // that is located on your system. Image img = Bitmap.FromFile("..\\..\\test.gif"); CellClass cell;
Imports System.Reflection Imports Softelvdm.Controls Imports Softelvdm.SftTreeNET Public Class Form1 Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load ' This sample demonstrates cell merging. In this sample, vertical merging ' is based on empty subordinate cells (MergeStyle = MergeStyleEnum.EmptyCells). ' To prepare for this sample, create a new project with a blank form and add ' a SftTree/NET control named sftTree1. ' In addition, adjust the following FromFile method to use a (small) bitmap ' that is located on your system. Dim img As Image = Bitmap.FromFile("..\\..\\test.gif") Dim cell As CellClass
See Also | Classes | SftTree/NET 2.0