Skip to main content

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

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