CompositionDropShadowSourcePolicy CompositionDropShadowSourcePolicy CompositionDropShadowSourcePolicy CompositionDropShadowSourcePolicy Enum

Definition

Specifies the masking policy for a shadow.

public : enum class CompositionDropShadowSourcePolicy
enum class winrt::Windows::UI::Composition::CompositionDropShadowSourcePolicy : int32_t
public enum CompositionDropShadowSourcePolicy
Public Enum CompositionDropShadowSourcePolicy
Attributes

Windows 10 requirements

Device family
Windows 10 Fall Creators Update (introduced v10.0.16299.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v5)

Fields

Default Default Default Default 0

Shadow defaults to rectangular shape or the mask provided.

InheritFromVisualContent InheritFromVisualContent InheritFromVisualContent InheritFromVisualContent 1

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