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

MapCustomElement.AllowHtmlText Property

Gets or sets whether HTML formatting is allowed in the current MapCustomElement object.

Namespace: DevExpress.XtraMap

Assembly: DevExpress.XtraMap.v24.2.dll

NuGet Package: DevExpress.Win.Map

#Declaration

[DefaultValue(false)]
public bool AllowHtmlText { get; set; }

#Property Value

Type Default Description
Boolean false

A Boolean value that specifies whether HTML formatting tags can be used to format text in tooltips.

#Remarks

If the AllowHtmlText property is set to True, the HTML formatting feature is enabled for this MapCustomElement. In this case, you can use HTML tags (<b>, <i>, <u>, etc.) in the text specified by the MapPointer.Text property.

For detailed information on supported HTML tags, see HTML Text Formatting.

Note that the MapCustomElement.TextGlowColor property is not effective when the AllowHtmlText option is enabled.

See Also