DropShadowBitmapEffect.Direction Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Note: This API is now obsolete. The non-obsolete alternative is DropShadowEffect. Gets or sets the angle at which the shadow is cast.
public:
property double Direction { double get(); void set(double value); };
public double Direction { get; set; }
member this.Direction : double with get, set
Public Property Direction As Double
Property Value
The angle at which the shadow is cast. The valid range of values is from 0 through 360. The value 0 puts the direction immediately to the right of the object. Subsequent values move the direction around the object in a counter-clockwise direction. For example, a value of 90 indicates the shadow is cast directly upward from the object; a value of 180 is cast directly to the left of the object, and so on. The default value is 315.
Remarks
The following diagram shows in which direction the shadow is cast for a given value of this property.
The following illustration demonstrates the effect of this property.
Dependency Property Information
Identifier field | DirectionProperty |
Metadata properties set to true |
None |