Skip to main content

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.v23.1.dll

NuGet Package: DevExpress.Wpf.Map


public bool IsHitTestVisible { get; set; }

Property Value

Type Description

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
.MapItemSettings .IsHitTestVisible


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