共用方式為


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 值來使用遮罩。

適用於