Back to Devexpress

Shadow.Size Property

corelibraries-devexpress-dot-xtracharts-dot-shadow-d9071f87.md

latest2.1 KB
Original Source

Shadow.Size Property

Gets or sets the shadow’s thickness.

Namespace : DevExpress.XtraCharts

Assembly : DevExpress.XtraCharts.v25.2.dll

NuGet Package : DevExpress.Charts

Declaration

csharp
public int Size { get; set; }
vb
Public Property Size As Integer

Property Value

TypeDescription
Int32

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

|

Remarks

The following image demonstrates how the Size property works.

Example

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

csharp
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;
vb
Dim myPane As 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

Visible

Color

Shadow Class

Shadow Members

DevExpress.XtraCharts Namespace