Share via


CompositionDropShadowSourcePolicy Enum

Definition

Specifies the masking policy for a shadow.

public enum class CompositionDropShadowSourcePolicy
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.Foundation.LiftedContract, 65536)]
enum class CompositionDropShadowSourcePolicy
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.Foundation.WindowsAppSDKContract, 65536)]
enum class CompositionDropShadowSourcePolicy
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.Foundation.LiftedContract), 65536)]
public enum CompositionDropShadowSourcePolicy
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.Foundation.WindowsAppSDKContract), 65536)]
public enum CompositionDropShadowSourcePolicy
var value = Microsoft.UI.Composition.CompositionDropShadowSourcePolicy.default
Public Enum CompositionDropShadowSourcePolicy
Inheritance
CompositionDropShadowSourcePolicy
Attributes

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