BadgeDefaultProperties.AllowHtmDrawText Property
Gets or sets whether or not this badge recognizes HTML tags in its text.
Namespace: DevExpress.Utils.VisualEffects
Assembly: DevExpress.Utils.v19.2.dll
Declaration
[DefaultValue(DefaultBoolean.Default)]
[DXCategory("Appearance")]
public DefaultBoolean AllowHtmDrawText { get; set; }
Property Value
Type | Default | Description |
---|---|---|
DefaultBoolean | **Default** | A DefaultBoolean enumerator value that specifies whether or not this badge recognizes HTML tags in its text. |
Available values:
Name | Description |
---|---|
True | Corresponds to a Boolean value of true. |
False | Corresponds to a Boolean value of false. |
Default | The value is determined by the current object’s parent object setting (e.g., a control setting). |
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.