TdxGalleryControlGroups.GetItemAtPos(TPoint) Method
Searches visible gallery groups of the current collection for a gallery item located at a specified point.
Declaration
function GetItemAtPos(const P: TPoint): TdxGalleryControlItem;
Parameters
Name | Type |
---|---|
P | TPoint |
Returns
Type |
---|
TdxGalleryControlItem |
Remarks
The P parameter specifies the point (in client coordinates) to be inspected. If this point falls within the bounds of a gallery item located within one of the visible groups stored within the current collection, this gallery item is returned as the function’s result. Otherwise, the function returns nil.
See Also