DockPanel.AllowBorderColorBlending Property

Gets or sets whether to colorize the dock panel's caption and border according to the BorderColor setting in skinning paint schemes.

Namespace: DevExpress.XtraBars.Docking

Assembly: DevExpress.XtraBars.v20.1.dll

Declaration

[Browsable(false)]
[XtraSerializableProperty]
[DefaultValue(false)]
public bool AllowBorderColorBlending { get; set; }
<Browsable(False)>
<XtraSerializableProperty>
<DefaultValue(False)>
Public Property AllowBorderColorBlending As Boolean

Property Value

Type Default Description
Boolean

false

true, if the dock panel's caption and border should be colorized according to its BorderColor setting in skinning paint schemes; otherwise, false.

Remarks

In skinning paint schemes, a dock panel's caption and border are painted according to the current skinning scheme by default, and the BorderColor setting (accessible from the DockPanel.Appearance property) is ignored.

You can highlight the dock panel's caption and border with a custom color in skinning paint schemes by specifying the BorderColor setting and enabling the AllowBorderColorBlending option. The dock panel will blend the BorderColor with the current border color specified by the skin.

The following images demonstrate how dock panels are painted depending on the AllowBorderColorBlending property's value in different skins (the Appearance.BorderColor setting is set to Salmon).

AllowBorderColorBlending = false AllowBorderColorBlending = true
DockPanelAllowBorderColorBlendingFalse DockPanelAllowBorderColorBlendingTrue>

If the AllowBorderColorBlending option is disabled, the BorderColor setting is ignored in skinning paint schemes.

See Also