Skip to main content
A newer version of this page is available. .

Shadow.Size Property

Gets or sets the shadow’s thickness.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v18.2.dll

Declaration

[XtraSerializableProperty]
public int Size { get; set; }

Property Value

Type Description
Int32

An integer value which specifies the shadow’s thickness, in pixels.

Remarks

The following image demonstrates how the Size property works.

Shadow_Size

Example

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