WebPartMenuStyle.ShadowColor 属性

定义

获取或设置一个值,该值确定 WebPart 控件上菜单的阴影颜色。Gets or sets a value that determines the shadow color for a menu on a WebPart control.

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

确定阴影颜色的 ColorA Color that determines the shadow color. 默认值是 EmptyThe 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.

适用于