LegendItem.BackGradientStyle Property

Definition

Gets or sets the orientation for the background gradient of a legend item. Also determines whether a gradient is used.

[System.ComponentModel.Bindable(true)]
[System.Web.UI.PersistenceMode(System.Web.UI.PersistenceMode.Attribute)]
public System.Web.UI.DataVisualization.Charting.GradientStyle BackGradientStyle { get; set; }

Property Value

A GradientStyle enumeration. The default value is None.

Attributes

Remarks

Use the BackGradientStyle property to determine whether a title will display a gradient, and to determine the orientation of the gradient if one is used.

This property is only implemented if the ImageStyle property is set to Rectangle.

For a listing of available patterns, refer to the GradientStyle enumeration.

To use gradient colors:

备注

This property is applicable only to LegendCell objects with a LegendCellType of either SeriesSymbol or Image.

Applies to

产品 版本
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1