WebPartMenuStyle.ShadowColor 屬性

定義

取得或設定值,判斷 WebPart 控制項功能表的陰影色彩。

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

屬性值

Color,決定陰影色彩。 預設值是 Empty

屬性

備註

只有在使用者在其系統上啟用 Microsoft Windows 功能表陰影功能時,屬性 ShadowColor 才會生效。 啟用功能表陰影時,屬性會 ShadowColor 設定在功能表內容周圍建立的陰影色彩。 如果未將色彩值指派給 屬性,即使系統上已啟用功能表陰影,也不會在功能表上顯示陰影。

適用於

另請參閱