Redigera

Dela via


Title.ShadowColor Property

Definition

Gets or sets the shadow color for the title.

public:
 property System::Drawing::Color ShadowColor { System::Drawing::Color get(); void set(System::Drawing::Color value); };
[System.ComponentModel.Bindable(true)]
[System.ComponentModel.TypeConverter(typeof(System.Drawing.ColorConverter))]
public System.Drawing.Color ShadowColor { get; set; }
[<System.ComponentModel.Bindable(true)>]
[<System.ComponentModel.TypeConverter(typeof(System.Drawing.ColorConverter))>]
member this.ShadowColor : System.Drawing.Color with get, set
Public Property ShadowColor As Color

Property Value

A Color value that specifies the shadow color for the title. The default color is Black.

Attributes

Remarks

This property can be set to any valid ARGB (alpha, red, green, blue) value.

The alpha value can be used to achieve a "realistic" shadowing effect; try a color value of "128,0,0,0" for shadows.

To implement a shadow, set the ShadowOffset property to a value other than zero (0).

Applies to