WebPartMenuStyle.ShadowColor Property

Note: This property is new in the .NET Framework version 2.0.

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)

public:
property Color ShadowColor {
	Color get ();
	void set (Color value);
}
/** @property */
public Color get_ShadowColor ()

/** @property */
public void set_ShadowColor (Color value)

public function get ShadowColor () : Color

public function set ShadowColor (value : Color)

Property Value

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.

Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

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

.NET Framework

Supported in: 2.0

Community Additions

ADD
Show: