Skip to main content

NavigationPageDefaultProperties.AllowHtmlDraw Property

Gets or sets whether or not this NavigationPage‘s caption can be formatted using HTML tags.

Namespace: DevExpress.XtraBars.Navigation

Assembly: DevExpress.XtraBars.v22.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

[DefaultValue(DefaultBoolean.Default)]
[XtraSerializableProperty(XtraSerializationFlags.DefaultValue)]
public DefaultBoolean AllowHtmlDraw { get; set; }

Property Value

Type Default Description
DefaultBoolean Default

A DefaultBoolean enumerator value that specifies whether or not this NavigationPage‘s caption can be formatted using HTML tags.

Available values:

Name Description
True

true. DefaultBoolean.True has a constant value of 0, while the standard true value corresponds to a value of 1. In Visual Basic, do not use implicit conversion of Boolean values to DefaultBoolean, and vice versa, as the conversion may produce incorrect results.

False

false. DefaultBoolean.False has a constant value of 1, while the standard false value corresponds to a value of 0. In Visual Basic, do not use implicit conversion of Boolean values to DefaultBoolean, and vice versa, as the conversion may produce incorrect results.

Default

The default behavior determined by the control’s logic.

Remarks

This property affects only a page caption (NavigationPageBase.Caption). Tab header strings (NavigationPageBase.PageText) are supported only when pages are owned by a NavigationPane control. These text blocks are affected by a different property, NavigationPane.AllowHtmlDraw.

If the AllowHtmlDraw property is not set to Default, it overrides the global NavigationPageProperties.AllowHtmlDraw setting.

See Also