Shadow.Color Property

Gets or sets the shadow's color.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v19.2.dll

Declaration

public Color Color { get; set; }
Public Property Color As Color

Property Value

Type Description
Color

A Color structure which specifies the shadow's color.

Remarks

The following image demonstrates how the Color property works.

Pane_Shadow

Examples

This example demonstrates the possibilities of customizing a chart diagram's panes' appearance at runtime.

XYDiagramPane myPane = new XYDiagramPane("The Pane's Name");

myPane.BackColor = Color.Aqua;
myPane.FillStyle.FillMode = FillMode.Empty;

myPane.BorderVisible = true;
myPane.BorderColor = Color.Blue;

myPane.Shadow.Visible = true;
myPane.Shadow.Color = Color.LightGray;
myPane.Shadow.Size = 2;
See Also