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

MapItemSettingsBase.IsHitTestVisible Property

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

Namespace: DevExpress.Xpf.Map

Assembly: DevExpress.Xpf.Map.v24.2.dll

NuGet Package: DevExpress.Wpf.Map

#Declaration

public bool IsHitTestVisible { get; set; }

#Property Value

Type Description
Boolean

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

#Property Paths

You can access this nested property as listed below:

Object Type Path to IsHitTestVisible
MapEditorCreateMode
.MapItemSettings .IsHitTestVisible

#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.

To get hit-testing information, use the MapControl.CalcHitInfo method.

See Also