Skip to main content

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

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