DropShadow.SourcePolicy Property

Definition

Used to define the shadow masking policy to be used for the shadow.

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

Property Value

The masking policy to apply to the shadow.

Windows requirements

Device family
Windows 10 Fall Creators Update (introduced in 10.0.16299.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v5.0)

Applies to