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
Returns the main cell, if the current cell is part of the main cell due to cell merging.
Class: CellBaseClass
Namespace: Softelvdm.Controls
Assembly: Softelvdm.SftTreeNET
public virtual void GetMainCell( Point offset, out CellBaseClass cell );
Public Overridable Sub GetMainCell( ByVal offset As Point, cell As CellBaseClass )
offset
Returns the location of the main cell that merges into the current cell, relative to the current cell.
cell
Returns the main cell that merges into the current cell or null/Nothing if the current cell isn't part of a merged cell.
Returns the main cell, if the current cell is part of the main cell due to cell merging.
Any subordinate cell is owned by a main cell. The main cell occupies the space of all its subordinate cells.
If a cell is not a subordinate cell (or if it's a main cell), GetMainCell returns null/Nothing for the cell parameter.
The CellBaseClass.MainCell property can be used to retrieve any subordinate cell's owning main cell. The CellBaseClass.MainCell property is identical to the GetMainCell method, except that GetMainCell also returns the relative position of the main cell (offset argument).
See Also CellBaseClass Class | Classes | SftTree/NET 2.0