windowsforms-devexpress-dot-xtramap-dot-mapcustomelement.md
Gets or sets whether HTML formatting is allowed in the current MapCustomElement object.
Namespace : DevExpress.XtraMap
Assembly : DevExpress.XtraMap.v25.2.dll
NuGet Package : DevExpress.Win.Map
[DefaultValue(false)]
public bool AllowHtmlText { get; set; }
<DefaultValue(False)>
Public Property AllowHtmlText As Boolean
| Type | Default | Description |
|---|---|---|
| Boolean | false |
A Boolean value that specifies whether HTML formatting tags can be used to format text in tooltips.
|
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