Back to Devexpress

AppearanceObject.BackColor2 Property

windowsforms-devexpress-dot-utils-dot-appearanceobject-dot-backcolor2.md

latest2.6 KB
Original Source

AppearanceObject.BackColor2 Property

Deprecated. Gets or sets the end color of the background’s gradient brush.

Namespace : DevExpress.Utils

Assembly : DevExpress.Utils.v25.2.dll

NuGet Packages : DevExpress.Utils, DevExpress.Wpf.Core

Declaration

csharp
[Browsable(false)]
[DXCategory("Appearance")]
[EditorBrowsable(EditorBrowsableState.Never)]
[XtraSerializableProperty]
public virtual Color BackColor2 { get; set; }
vb
<XtraSerializableProperty>
<DXCategory("Appearance")>
<Browsable(False)>
<EditorBrowsable(EditorBrowsableState.Never)>
Public Overridable Property BackColor2 As Color

Property Value

TypeDescription
Color

A Color object.

|

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the BackColor2 property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

winforms-grid-highlight-modified-cells/CS/Form1.cs#L34

csharp
e.Appearance.BackColor = Color.ForestGreen;
e.Appearance.BackColor2 = Color.LimeGreen;
e.Appearance.Font = new Font(e.Appearance.Font, FontStyle.Bold);

winforms-grid-highlight-modified-cells/VB/Form1.vb#L36

vb
e.Appearance.BackColor = Color.ForestGreen
e.Appearance.BackColor2 = Color.LimeGreen
e.Appearance.Font = New Font(e.Appearance.Font, FontStyle.Bold)

See Also

AppearanceObject Class

AppearanceObject Members

DevExpress.Utils Namespace