NavBarControl.AllowHtmlString Property
Gets or sets whether the group and item captions are formatted using HTML tags.
Namespace: DevExpress.XtraNavBar
Assembly: DevExpress.XtraNavBar.v24.2.dll
Declaration
Property Value
Type | Default | Description |
---|---|---|
Boolean | false | true if the group and item captions are formatted using HTML tags; otherwise, false. |
Remarks
The group and item captions (see NavElement.Caption) can be formatted using HTML tags. Set the AllowHtmlString property to true to enable this feature.
The AllowHtmlString property specifies the global setting common to all group and items in the current NavBarControl control. You can override this setting for a particular element using the NavElement.AllowHtmlString property.
See the HTML Text Formatting topic for detailed information on supported HTML tags. For example, you can use the image tag to specify an image from the NavBarControl.HtmlImages collection to be displayed next to the element caption.