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



Spring Break!

Our offices will be closed this week (March 18 through March 22).

We'll be back March 24 to address any pending sales and support issues.