Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

WidgetView.AllowDocumentCaptionColorBlending Property

Gets or sets whether or not the document header text should be colorized according to the caption area fore color.

Namespace: DevExpress.XtraBars.Docking2010.Views.Widget

Assembly: DevExpress.XtraBars.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

[Browsable(false)]
[DefaultValue(true)]
[EditorBrowsable(EditorBrowsableState.Advanced)]
[XtraSerializableProperty]
public bool AllowDocumentCaptionColorBlending { get; set; }

#Property Value

Type Default Description
Boolean true

true if the document header text should be colorized according to the caption area fore color; otherwise, false.

#Remarks

WidgetView documents can be colorized by modifying their Document.AppearanceCaption and Document.AppearanceActiveCaption properties. By default, the WidgetView utilizes color blending similar to the Multiply mode in Adobe Photoshop. The caption text’s color mixes with the caption area color, so that text maintains a certain consistency with its background. You can turn this feature off by setting the AllowDocumentCaptionColorBlending property to false. The figure below illustrates the example.

WidgetView - Color Blending

The AllowDocumentCaptionColorBlending property is a global setting that affects all documents within the view. To override it for individual documents, use the Document.AllowCaptionColorBlending property instead.

See Widget View to learn more.

See Also