Skip to main content

IDocumentSelectorDefaultProperties.AllowHtmlDrawHeaders Property

Gets or sets whether this Content Container can use HTML tags to draw Document headers.

Namespace: DevExpress.XtraBars.Docking2010.Views.WindowsUI

Assembly: DevExpress.XtraBars.v22.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

DefaultBoolean AllowHtmlDrawHeaders { get; set; }

Property Value

Type Description
DefaultBoolean

A DefaultBoolean enumerator value that specifies whether this Content Container can use HTML tags to draw Document headers.

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

If the IDocumentSelectorProperties.AllowHtmlDrawHeaders property equals true, you can use HTML tags when specifying Document BaseDocument.Header property values. The figure below illustrates the PageGroup container with three Documents whose headers are painted using different HTML formatting options.

WindowsUIView - Document Headers HTML Draw

The IDocumentSelectorProperties.AllowHtmlDrawHeaders property specifies the global setting common to all containers within this WindowsUIView. To override this setting for individual containers, use the AllowHtmlDrawHeaders property instead. If the AllowHtmlDrawHeaders property equals DefaultBoolean.Default, it uses the behavior based on the global View setting.

See Also