Share via


ElementCompositeMode 枚举

定义

声明混合 XAML/Microsoft DirectX UI 中元素的备用组合和混合模式。

public enum class ElementCompositeMode
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class ElementCompositeMode
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum ElementCompositeMode
Public Enum ElementCompositeMode
继承
ElementCompositeMode
属性

Windows 要求

设备系列
Windows 10 (在 10.0.10240.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v1.0 中引入)

字段

Inherit 0

使用可视化树中连续父级的值。 这是默认值。

MinBlend 2

为每个像素使用源值和目标值的最小值。 这对应于 D2D1_PRIMITIVE_BLEND_MIN

SourceOver 1

使用标准 XAML 源目标模式。 这对应于 D2D1_PRIMITIVE_BLEND_SOURCE_OVER

适用于

另请参阅