RibbonControl.AllowHtmlText Property
Gets or sets whether a BarItemLinks’ text within the current RibbonControl can be formatted using HTML tags.
Namespace: DevExpress.XtraBars.Ribbon
Assembly: DevExpress.XtraBars.v24.2.dll
Declaration
[DefaultValue(false)]
[DXCategory("Appearance")]
[XtraSerializableProperty]
public virtual bool AllowHtmlText { get; set; }
Property Value
Type | Default | Description |
---|---|---|
Boolean | false | true if BarItemLinks’ text within the current RibbonControl can be formatted using HTML tags; otherwise, false. |
Remarks
A BarItem can display textual information via its caption and description. Use the BarItem.Caption and BarItem.Description properties respectively to do so. The AllowHtmlText property allows you to format the text blocks for all RibbonControl’s BarItems and their BarItemLinks using HTML tags. In the figure below, the first BarItemLink’s caption is drawn in bold due to the <b></b> tag, and its description underlined via the <u></u> tag.
The BarItem.AllowHtmlText property allows you to specify whether this feature is enabled for individual Bar Items. See the HTML Text Formatting topic for the supported tags list.