Back to Devexpress

MapHitInfo.InMapRectangle Property

windowsforms-devexpress-dot-xtramap-dot-maphitinfo-3541f267.md

latest1.4 KB
Original Source

MapHitInfo.InMapRectangle Property

Gets a value indicating whether the test point is within a MapRectangle.

Namespace : DevExpress.XtraMap

Assembly : DevExpress.XtraMap.v25.2.dll

NuGet Package : DevExpress.Win.Map

Declaration

csharp
public bool InMapRectangle { get; }
vb
Public ReadOnly Property InMapRectangle As Boolean

Property Value

TypeDescription
Boolean

true if the test point is within a rectangle; otherwise, false.

|

Remarks

Use the InMapRectangle property, to check whether the test point is located within a rectangle.

To obtain a particular element located under the test point, use the MapControl.CalcHitInfo method.

See Also

MapHitInfo Class

MapHitInfo Members

DevExpress.XtraMap Namespace