Skip to main content

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

NuGet Package: DevExpress.Wpf.Map

Declaration

[NonCategorized]
public bool? ToolTipEnabled { get; set; }

Property Value

Type Description
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