CompositionDropShadowSourcePolicy Enum

Definition

Specifies the masking policy for a shadow.

Equivalent WinUI enum: Microsoft.UI.Composition.CompositionDropShadowSourcePolicy.

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

Windows 10 requirements

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

Fields

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