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 |
Applies to
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기