Back to Devexpress

MapItemSettingsBase.IsHitTestVisible Property

wpf-devexpress-dot-xpf-dot-map-dot-mapitemsettingsbase.md

latest1.7 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Wpf.Map

Declaration

csharp
public bool IsHitTestVisible { get; set; }
vb
Public Property IsHitTestVisible As Boolean

Property Value

TypeDescription
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 TypePath 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

MapItemSettingsBase Class

MapItemSettingsBase Members

DevExpress.Xpf.Map Namespace