Hide

SftTree/NET 2.0 - Tree Control for Windows Forms

Display
Print

ItemFromPoint Method, SftTree Class

Determines the item given a point in the item area.

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

Syntax

public ItemClass ItemFromPoint(
    Point searchPoint,
    bool fIgnoreX,
    out bool fLeft );
Public Function ItemFromPoint(
    ByVal searchPoint As Point,
    ByVal fIgnoreX As Boolean,
    fLeft As Boolean
  ) As ItemClass

Parameters

searchPoint

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

fIgnoreX

Defines whether the X coordinate is ignored. If True, only the Y coordinate is used to determine the item at the given location.

fLeft

Returns whether the item is in the left pane.

Return Value

The item at the given coordinates.

Comments

Determines the item 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