Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

MapItem.IsHitTestVisible Property

Gets or sets a value that defines whether or not a map item can be returned as a hit-testing result.

Namespace: DevExpress.XtraMap

Assembly: DevExpress.XtraMap.v24.2.dll

NuGet Package: DevExpress.Win.Map

#Declaration

[DefaultValue(true)]
public bool IsHitTestVisible { get; set; }

#Property Value

Type Default Description
Boolean true

true if the map item can be shown as the result of hit testing; otherwise false.

#Remarks

If the IsHitTestVisible property is set to false, the map item ignores any input events and hit testing. So, by default, this property is set to true.

See Also