DropShadow.SourcePolicy 属性

定义

用于定义要用于阴影的阴影掩码策略。

public:
 property CompositionDropShadowSourcePolicy SourcePolicy { CompositionDropShadowSourcePolicy get(); void set(CompositionDropShadowSourcePolicy value); };
CompositionDropShadowSourcePolicy SourcePolicy();

void SourcePolicy(CompositionDropShadowSourcePolicy value);
public CompositionDropShadowSourcePolicy SourcePolicy { get; set; }
var compositionDropShadowSourcePolicy = dropShadow.sourcePolicy;
dropShadow.sourcePolicy = compositionDropShadowSourcePolicy;
Public Property SourcePolicy As CompositionDropShadowSourcePolicy

属性值

要应用于阴影的掩码策略。

Windows 要求

设备系列
Windows 10 Fall Creators Update (在 10.0.16299.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v5.0 中引入)

适用于