Back to Devexpress

WidgetView.AllowDocumentCaptionColorBlending Property

windowsforms-devexpress-dot-xtrabars-dot-docking2010-dot-views-dot-widget-dot-widgetview-142f63df.md

latest3.3 KB
Original Source

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

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[Browsable(false)]
[DefaultValue(true)]
[EditorBrowsable(EditorBrowsableState.Advanced)]
[XtraSerializableProperty]
public bool AllowDocumentCaptionColorBlending { get; set; }
vb
<Browsable(False)>
<EditorBrowsable(EditorBrowsableState.Advanced)>
<DefaultValue(True)>
<XtraSerializableProperty>
Public Property AllowDocumentCaptionColorBlending As Boolean

Property Value

TypeDefaultDescription
Booleantrue

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.

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

AllowCaptionColorBlending

Widget View

WidgetView Class

WidgetView Members

DevExpress.XtraBars.Docking2010.Views.Widget Namespace