編輯

共用方式為


DropShadowBitmapEffect.ShadowDepth Property

Definition

Note: This API is now obsolete. The non-obsolete alternative is DropShadowEffect. Gets or sets the distance between the object and the shadow that it casts.

public:
 property double ShadowDepth { double get(); void set(double value); };
public double ShadowDepth { get; set; }
member this.ShadowDepth : double with get, set
Public Property ShadowDepth As Double

Property Value

The distance between the plane of the object casting the shadow and the shadow plane measured in device-independent units (1/96th inch per unit). The valid range of values is from 0 through 300. The default is 5.

Remarks

The following illustration demonstrates the effect of this property.

Screenshot: Compare ShadowDepth property values

Dependency Property Information

Identifier field ShadowDepthProperty
Metadata properties set to true None

Applies to