StripLine.BackGradientStyle 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 the gradient style of the strip line.

Namespace:   System.Web.UI.DataVisualization.Charting
Assembly:  System.Web.DataVisualization (in System.Web.DataVisualization.dll)

[BindableAttribute(true)]
[PersistenceModeAttribute(PersistenceMode.Attribute)]
public GradientStyle BackGradientStyle { get; set; }

Property Value

Type: System.Web.UI.DataVisualization.Charting.GradientStyle

A GradientStyle enumeration. The default value is None.

The BackGradientStyle property determines whether a chart element will display a gradient, as well as the orientation of the gradient, if used.

To use gradient colors:

  • Use the BackColor property to set the primary color.

  • Use the BackSecondaryColor property to set the secondary color.

  • Set this BackGradientStyle property of the chart element to the desired gradient style.

This property is not applicable if the StripWidth property is set to a value of 0.0.

.NET Framework
Available since 4.0
Return to top
Show: