Επεξεργασία

Κοινή χρήση μέσω


WebPartMenuStyle.ShadowColor Property

Definition

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

Property Value

A Color that determines the shadow color. The default value is Empty.

Attributes

Remarks

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.

Applies to

See also