Legend.BackSecondaryColor 属性

定义

获取或设置图例背景的辅助颜色。

public:
 property System::Drawing::Color BackSecondaryColor { System::Drawing::Color get(); void set(System::Drawing::Color value); };
[System.ComponentModel.Bindable(true)]
[System.ComponentModel.TypeConverter(typeof(System.Drawing.ColorConverter))]
public System.Drawing.Color BackSecondaryColor { get; set; }
[<System.ComponentModel.Bindable(true)>]
[<System.ComponentModel.TypeConverter(typeof(System.Drawing.ColorConverter))>]
member this.BackSecondaryColor : System.Drawing.Color with get, set
Public Property BackSecondaryColor As Color

属性值

一个 Color 值,该值用于带阴影或渐变填充的背景的辅助颜色。 默认值是 Empty

属性

注解

属性 BackSecondaryColor 确定许多 Chart 对象的辅助背景色,并在应用渐变颜色时使用。

可以将 (alpha、红色、绿色、蓝色) 值设置为 BackSecondaryColor 任何有效的 ARGB。

如果使用阴影,则 BackSecondaryColor 属性将确定图例的阴影线的颜色。

若要对图例的背景使用渐变颜色,请执行以下操作:

适用于