Back to Devexpress

NavigationPageDefaultProperties.AllowHtmlDraw Property

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

latest2.7 KB
Original Source

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

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(DefaultBoolean.Default)]
[XtraSerializableProperty(XtraSerializationFlags.DefaultValue)]
public DefaultBoolean AllowHtmlDraw { get; set; }
vb
<XtraSerializableProperty(XtraSerializationFlags.DefaultValue)>
<DefaultValue(DefaultBoolean.Default)>
Public Property AllowHtmlDraw As DefaultBoolean

Property Value

TypeDefaultDescription
DefaultBooleanDefault

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

|

Available values:

NameDescriptionReturn Value
True

The value is true.

|

0

| | False |

The value is false.

|

1

| | Default |

The value is specified by a global option or a higher-level object.

|

2

|

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

PageProperties

NavigationPageDefaultProperties Class

NavigationPageDefaultProperties Members

DevExpress.XtraBars.Navigation Namespace