Hide

SftTree/NET 2.0 - Tree Control for Windows Forms

Display
Print

CellFromPoint Method, SftTree Class

Determines the cell given a point in the item area.

Class: SftTree
Namespace: Softelvdm.SftTreeNET
Assembly: Softelvdm.SftTreeNET

Syntax

public CellClass CellFromPoint(
    Point searchPoint,
    bool fReal );
Public Function CellFromPoint(
    ByVal searchPoint As Point,
    ByVal fReal As Boolean
  ) As CellClass

Parameters

searchPoint

Defines the coordinates relative to the top, left corner of the control.

fReal

Defines whether the physical cell is returned or the main cell for merged cells. Specify True to return the real cell, False to return the main cell of a group of merged cells.

Return Value

The cell at the given coordinates.

Comments

Determines the cell given a point in the item area.

The point can be located within the item area only.

See Also SftTree Class | Classes | SftTree/NET 2.0