Skip to main content
A newer version of this page is available. .

VectorLayerBase.ToolTipEnabled Property

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

Namespace: DevExpress.Xpf.Map

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

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.

The following code snippets (auto-collected from DevExpress Examples) contain references to the ToolTipEnabled property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also