Title.ShadowColor 屬性

定義

取得或設定標題的陰影色彩。

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

屬性值

Color

標題的 Color 值。 預設色彩為 Black

屬性

備註

這個屬性可以設定為任何有效的 ARGB (Alpha、紅色、綠色、藍色) 值。

Alpha 值可以用來達到「實際」的陰影效果;嘗試以 "128,0,0,0" 為陰影的色彩值。

若要執行陰影,請將 ShadowOffset 屬性設定為零以外的值 (0) 。

適用於