Chart.IsSoftShadows Property

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets or sets a flag that determines if a smooth gradient is applied when shadows are drawn.

Namespace:   System.Windows.Forms.DataVisualization.Charting
Assembly:  System.Windows.Forms.DataVisualization (in System.Windows.Forms.DataVisualization.dll)

[BindableAttribute(true)]
public bool IsSoftShadows { get; set; }

Property Value

Type: System.Boolean

true if shadows are drawn using smoothing; otherwise, false. The default value is true.

If the value of the ShadowOffset property for a series, data point, chart area or legend is nonzero, a shadow will be applied using a color set by their ShadowColor property.

If the value of the IsSoftShadows property is true, a smooth gradient will be applied to the shadow.

.NET Framework
Available since 4.0
Return to top
Show: