TdxRibbonBackstageViewGalleryItems.GetItemAtPos(TPoint) Method
Searches the collection for a gallery item located at a specified point.
Declaration
function GetItemAtPos(const P: TPoint): TdxRibbonBackstageViewGalleryItem;
Parameters
Name | Type |
---|---|
P | TPoint |
Returns
Type |
---|
TdxRibbonBackstageViewGalleryItem |
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