WebPartMenuStyle.ShadowColor 属性
定义
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。A Color that determines the shadow color. 默认值是 Empty。The default value is Empty.
- 属性
注解
ShadowColor仅当用户在其系统上启用了 Microsoft Windows 菜单阴影功能时,属性才会生效。The ShadowColor property takes effect only when users have the Microsoft Windows menu-shadowing feature enabled on their systems. 当启用菜单阴影时, ShadowColor 属性将设置在菜单内容周围创建的阴影的颜色。When menu shadowing is enabled, the ShadowColor property sets the color of the shadow that is created around the menu content. 如果没有为属性分配任何颜色值,则菜单上不会显示阴影,即使系统上启用了菜单阴影。If no color value is assigned to the property, no shadow will appear on menus, even if menu shadowing is enabled on the system.