Gets or sets the angle at which the shadow is cast.
Assembly: System.Windows (in System.Windows.dll)
Property ValueType: System.Double
The angle at which the shadow is cast, where 0 is immediately to the right of the object and positive values move the shadow counterclockwise. The default is 315.
Dependency property identifier field: DirectionProperty
The valid range of values is from 0 through 360. The value 0 puts the drop shadow immediately to the right of the object. Subsequent values move the shadow 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 following diagram shows in which direction the shadow is cast for a given value of this property.
The following illustrations demonstrate the effect of this property.
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.