共用方式為


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 引進)

適用於