Back to Devexpress

VectorLayerBase.ToolTipEnabled Property

wpf-devexpress-dot-xpf-dot-map-dot-vectorlayerbase-7c7d3688.md

latest1.8 KB
Original Source

VectorLayerBase.ToolTipEnabled Property

Gets or sets a value that specifies whether a tooltip is enabled for vector layer elements.

Namespace : DevExpress.Xpf.Map

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

NuGet Package : DevExpress.Wpf.Map

Declaration

csharp
[NonCategorized]
public bool? ToolTipEnabled { get; set; }
vb
<NonCategorized>
Public Property ToolTipEnabled As Boolean?

Property Value

TypeDescription
Nullable<Boolean>

Null - the ToolTipEnabled property value is obtained from the parent map’s MapControl.ToolTipEnabled property; True - a tooltip is enabled for vector elements on a map; False - a tooltip is disabled.

|

Remarks

Use the ToolTipEnabled property to activate (deactivate) a tooltip at the VectorLayer level for a particular vector element.

After that, it becomes possible to format text within a tooltip using the VectorLayerBase.ToolTipPattern property.

See Also

VectorLayerBase Class

VectorLayerBase Members

DevExpress.Xpf.Map Namespace