Back to Devexpress

LayoutViewOptionsView.AllowBorderColorBlending Property

windowsforms-devexpress-dot-xtragrid-dot-views-dot-layout-dot-layoutviewoptionsview-ca51e0cc.md

latest3.9 KB
Original Source

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

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

Declaration

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

Property Value

TypeDefaultDescription
Booleanfalse

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 TypePath 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.

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

Appearance

LayoutViewOptionsView Class

LayoutViewOptionsView Members

DevExpress.XtraGrid.Views.Layout Namespace