Share via


CompositionDropShadowSourcePolicy Enum

Definition

Specifies the masking policy for a shadow.

public enum class CompositionDropShadowSourcePolicy
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 327680)]
enum class CompositionDropShadowSourcePolicy
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 327680)]
public enum CompositionDropShadowSourcePolicy
Public Enum CompositionDropShadowSourcePolicy
Inheritance
CompositionDropShadowSourcePolicy
Attributes

Windows requirements

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

Fields

Name Value Description
Default 0

Shadow defaults to rectangular shape or the mask provided.

InheritFromVisualContent 1

Shadow uses a mask using the alpha value of the visual's brush.

Applies to