Back to Devexpress

SvgImageBox.GetItemsAt(Point) Method

windowsforms-devexpress-dot-xtraeditors-dot-svgimagebox-dot-getitemsat-x28-system-dot-drawing-dot-point-x29.md

latest2.5 KB
Original Source

SvgImageBox.GetItemsAt(Point) Method

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

Namespace : DevExpress.XtraEditors

Assembly : DevExpress.Utils.v25.2.dll

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

Declaration

csharp
public SvgImageItem[] GetItemsAt(
    Point point
)
vb
Public Function GetItemsAt(
    point As Point
) As SvgImageItem()

Parameters

NameTypeDescription
pointPoint

The target point, in client coordinates.

|

Returns

TypeDescription
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

SvgImageBox Class

SvgImageBox Members

DevExpress.XtraEditors Namespace