Back to Devexpress

NavigationPageProperties.AllowHtmlDraw Property

windowsforms-devexpress-dot-xtrabars-dot-navigation-dot-navigationpageproperties.md

latest2.1 KB
Original Source

NavigationPageProperties.AllowHtmlDraw Property

Gets or sets whether any navigation page within this parent container can use HTML tags to format its caption.

Namespace : DevExpress.XtraBars.Navigation

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(true)]
[XtraSerializableProperty(XtraSerializationFlags.DefaultValue)]
public bool AllowHtmlDraw { get; set; }
vb
<XtraSerializableProperty(XtraSerializationFlags.DefaultValue)>
<DefaultValue(True)>
Public Property AllowHtmlDraw As Boolean

Property Value

TypeDefaultDescription
Booleantrue

true if any navigation page within this parent container can use HTML tags to format its caption; otherwise, false.

|

Remarks

This property affects only page captions ( 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.

See Also

HTML-inspired Text Formatting

NavigationPageProperties Class

NavigationPageProperties Members

DevExpress.XtraBars.Navigation Namespace