FMX.TreeView.TTreeViewItem.ItemByPoint

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function ItemByPoint(const X, Y: Single): TTreeViewItem;

C++

TTreeViewItem* __fastcall ItemByPoint(const float X, const float Y);

Properties

Type Visibility Source Unit Parent
function public
FMX.TreeView.pas
FMX.TreeView.hpp
FMX.TreeView TTreeViewItem

Description

Returns the child item at the specified point.

ItemByPoint returns the child item of the current item that contains the given point. The method considers the children on all descending levels, not only the direct descendants.

Note that the X and Y coordinates have values relative to the context of the current item.

See Also