Back to Devexpress

BarManager.AllowHtmlText Property

windowsforms-devexpress-dot-xtrabars-dot-barmanager-d51050b8.md

latest2.5 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

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

Property Value

TypeDefaultDescription
Booleanfalse

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

AllowHtmlText

Caption

Description

HTML-inspired Text Formatting

BarManager Class

BarManager Members

DevExpress.XtraBars Namespace