Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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