Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TdxGalleryControlItems.GetItemAtPos(TPoint) Method

Searches the collection for a gallery item located at a specified point.

#Declaration

Delphi
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 collection item, this item is returned as the function’s result. Otherwise, the function returns nil.

See Also