Back to Devexpress

MapCustomElement.AllowHtmlText Property

windowsforms-devexpress-dot-xtramap-dot-mapcustomelement.md

latest1.9 KB
Original Source

MapCustomElement.AllowHtmlText Property

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

Declaration

csharp
[DefaultValue(false)]
public bool AllowHtmlText { get; set; }
vb
<DefaultValue(False)>
Public Property AllowHtmlText As Boolean

Property Value

TypeDefaultDescription
Booleanfalse

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

MapCustomElement Class

MapCustomElement Members

DevExpress.XtraMap Namespace