Skip to main content

NativeMdiView.AllowDocumentCaptionColorBlending Property

Gets or sets whether or not the document caption text’s fore color should be mixed with its backcolor.

Namespace: DevExpress.XtraBars.Docking2010.Views.NativeMdi

Assembly: DevExpress.XtraBars.v24.1.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 caption text’s fore color should be mixed with its backcolor; otherwise, false.

Remarks

NativeMdiView documents can be colorized by modifying their Document.AppearanceCaption and Document.AppearanceActiveCaption properties. By default, the NativeMdiView utilizes color blending algorithm 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.

NativeMDIView - 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 Also