Hide

SftTree/NET 2.0 - Tree Control for Windows Forms

Display
Print

CellFromPoint Method, HeadersClass Class

Determines the cell given a point in the column header area.

Class: HeadersClass
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 column header area.

The point can be located within the column header area only.

See Also HeadersClass Class | Classes | SftTree/NET 2.0