CompositionDropShadowSourcePolicy Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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. |