BadgeDefaultProperties.AllowHtmDrawText Property
Gets or sets whether or not this badge recognizes HTML tags in its text.
Namespace: DevExpress.Utils.VisualEffects
Assembly: DevExpress.Utils.v24.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 | Return Value |
---|---|---|
True | The value is true. |
|
False | The value is false. |
|
Default | The value is specified by a global option or a higher-level object. |
|
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.