CompositionDropShadowSourcePolicy 枚举

定义

指定阴影的掩码策略。

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
继承
CompositionDropShadowSourcePolicy
属性

字段

Default 0

阴影默认为矩形或提供的蒙板。

InheritFromVisualContent 1

阴影使用使用视觉对象画笔的 alpha 值的蒙板。

适用于