This documentation is archived and is not being maintained.

WebPartMenuStyle::ShadowColor Property

Gets or sets a value that determines the shadow color for a menu on a WebPart control.

Namespace:  System.Web.UI.WebControls.WebParts
Assembly:  System.Web (in System.Web.dll)

[TypeConverterAttribute(typeof(WebColorConverter))]
public:
property Color ShadowColor {
	Color get ();
	void set (Color value);
}

Property Value

Type: System.Drawing::Color
A Color that determines the shadow color. The default value is Empty.

The ShadowColor property takes effect only when users have the Microsoft Windows menu-shadowing feature enabled on their systems. 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.

.NET Framework

Supported in: 4, 3.5, 3.0, 2.0

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: