BadgeDefaultProperties.AllowHtmDrawText Property

Gets or sets whether or not this badge recognizes HTML tags in its text.

Namespace: DevExpress.Utils.VisualEffects

Assembly: DevExpress.Utils.v20.1.dll

Declaration

[DefaultValue(DefaultBoolean.Default)]
[DXCategory("Appearance")]
public DefaultBoolean AllowHtmDrawText { get; set; }
<DefaultValue(DefaultBoolean.Default)>
<DXCategory("Appearance")>
Public Property AllowHtmDrawText As DefaultBoolean

Property Value

Type Default Description
DefaultBoolean

Default

A DefaultBoolean enumerator value that specifies whether or not this badge recognizes HTML tags in its text.

Remarks

You can include HTML tags in badge text strings (the BadgeDefaultProperties.Text property) to format these strings. Refer to the HTML Text Formatting article for the list of supported tags.

If the AllowHtmDrawText property equals DefaultBoolean.Default, the badge inherits the global behavior specified by the BadgeProperties.AllowHtmDrawText property. Otherwise, it overrides this global setting.

See Also