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