Skip to main content

SvgImageBox.GetItemsAt(Point) Method

Returns hidden and visible image items displayed at the specified point.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.Utils.v23.2.dll

NuGet Packages: DevExpress.Utils, DevExpress.Wpf.Core

Declaration

public SvgImageItem[] GetItemsAt(
    Point point
)

Parameters

Name Type Description
point Point

The target point, in client coordinates.

Returns

Type Description
SvgImageItem[]

A array of items located at the specified point. An empty array, if no item is positioned at this point.

Remarks

The GetItemsAt and SvgImageBox.GetItemsInside(Rectangle) methods return hidden and visible items.

To only return visible items (see SvgImageItem.ActualVisible) at the specified point, use the SvgImageBox.GetVisibleItemsAt(Point) and SvgImageBox.GetVisibleItemsInside(Rectangle) methods.

In Precise hit-test mode (default), groups are not hit-tested. In this case, the GetItemsAt, GetItemsInside, GetVisibleItemsAt and GetVisibleItemsInside methods do not return groups even if the target point is within a group’s bounds. Enable BoundingBox hit-test mode to allow group hit-testing.

See Also