Skip to main content

LayoutViewOptionsView.AllowBorderColorBlending Property

Gets or sets whether to highlight the card caption and border using the BorderColor settings in skin paint schemes. This property is ignored by default starting from v18.2.

Namespace: DevExpress.XtraGrid.Views.Layout

Assembly: DevExpress.XtraGrid.v24.1.dll

NuGet Packages: DevExpress.Win.Grid, DevExpress.Win.Navigation

Declaration

[DefaultValue(false)]
[XtraSerializableProperty]
public virtual bool AllowBorderColorBlending { get; set; }

Property Value

Type Default Description
Boolean false

true if the card caption and border color specified using appearance settings is blended with the color specified by the currently applied skin; otherwise, false.

Property Paths

You can access this nested property as listed below:

Object Type Path to AllowBorderColorBlending
LayoutView
.OptionsView .AllowBorderColorBlending

Remarks

Use the following API to customize the card caption and border color:

  • for all cards - LayoutView.Appearance.CardCaption.BorderColor
  • for the focused card - LayoutView.Appearance.FocusedCardCaption.BorderColor
  • for individual cards - Handle the LayoutView.CustomCardStyle event and customize the e.Appearance.BorderColor event parameter.

LayoutViewOptionsView_AllowBorderColorBlending_True_Office2010Black

Starting from version 18.2, the AllowBorderColorBlending property is ignored by default. You do not need to enable this option to change the card caption and border color.

The LayoutView takes the AllowBorderColorBlending property into account in the following cases:

In these cases, the AllowBorderColorBlending property functions as follows. When the property equals false, the card caption and border are colored based on the currently applied skin. Set the AllowBorderColorBlending property to true to enable card caption/border color customization (using the LayoutView.Appearance.CardCaption.BorderColor and LayoutView.Appearance.FocusedCardCaption.BorderColor properties, and the LayoutView.CustomCardStyle event).

See Also