Back to Devexpress

MapHitInfo.MapRectangle Property

windowsforms-devexpress-dot-xtramap-dot-maphitinfo-0f314bf7.md

latest1.6 KB
Original Source

MapHitInfo.MapRectangle Property

Gets a MapRectangle which is located under the test point.

Namespace : DevExpress.XtraMap

Assembly : DevExpress.XtraMap.v25.2.dll

NuGet Package : DevExpress.Win.Map

Declaration

csharp
public MapRectangle MapRectangle { get; }
vb
Public ReadOnly Property MapRectangle As MapRectangle

Property Value

TypeDescription
MapRectangle

A MapRectangle object that is the rectangle located under the test point.

|

Remarks

Use the MapRectangle property to access the rectangle located under the test point (if the MapHitInfo.InMapRectangle property returns true ).

If MapHitInfo.InMapRectangle is false , the MapRectangle property returns null ( Nothing in Visual Basic).

See Also

InMapRectangle

MapHitInfo Class

MapHitInfo Members

DevExpress.XtraMap Namespace