Series.ShadowColor 属性  
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取或设置序列的阴影颜色。
public:
 property System::Drawing::Color ShadowColor { System::Drawing::Color get(); void set(System::Drawing::Color value); };[System.ComponentModel.Bindable(true)]
[System.Web.UI.PersistenceMode(System.Web.UI.PersistenceMode.Attribute)]
public System.Drawing.Color ShadowColor { get; set; }[<System.ComponentModel.Bindable(true)>]
[<System.Web.UI.PersistenceMode(System.Web.UI.PersistenceMode.Attribute)>]
member this.ShadowColor : System.Drawing.Color with get, setPublic Property ShadowColor As Color属性值
- 属性
示例
' Set series shadow color and offset
Public Sub SetSeriesShadow()
     Chart1.Series("Default"}.ShadowColor = Color.Blue
     Chart1.Series("Default"}.ShadowOffset = 2
End Sub 'SetSeriesShadow
// Set series shadow color and offset
public void SetSeriesShadow()
{
    Chart1.Series("Default"}.ShadowColor = Color.Blue;
    Chart1.Series["Default"].ShadowOffset = 2;
}
注解
获取或设置序列的阴影颜色,可以是任何有效的 ARGB (alpha、红色、绿色、蓝色) 值。
alpha 值可用于实现逼真的阴影效果;尝试对阴影使用颜色值“128,0,0,0”。
若要实现阴影,请将 ShadowOffset 属性设置为非零值 (0) 。