Skip to main content
Bar

BarManager.AllowHtmlText Property

Gets or sets the default ability to use HTML tags to format bar item text (BarItem.Caption and BarItem.Description) within the current BarManager.

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v24.2.dll

Declaration

[DefaultValue(false)]
[DXCategory("Behavior")]
public virtual bool AllowHtmlText { get; set; }

Property Value

Type Default Description
Boolean false

true if HTML tags can be used to format bar item captions for all bar items that belong to the current BarManager; otherwise, false.

Remarks

You can format bar item text (BarItem.Caption and BarItem.Description) using HTML tags. To enable this feature for all bar items, set the BarManager.AllowHtmlText property to true. Or, you can enable this feature for individual bar items by setting the BarItem.AllowHtmlText property to True.

If HTML formatting is enabled for all bar items via the BarManager.AllowHtmlText property, you can still disable this feature for individual items by setting the BarItem.AllowHtmlText property to False.

See Also