Share via


CompositionCompositeMode Enum

Definition

Determines how a non-opaque visual's content is blended with the background content behind the visual.

public enum class CompositionCompositeMode
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.Foundation.LiftedContract, 65536)]
enum class CompositionCompositeMode
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.Foundation.WindowsAppSDKContract, 65536)]
enum class CompositionCompositeMode
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.Foundation.LiftedContract), 65536)]
public enum CompositionCompositeMode
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.Foundation.WindowsAppSDKContract), 65536)]
public enum CompositionCompositeMode
var value = Microsoft.UI.Composition.CompositionCompositeMode.inherit
Public Enum CompositionCompositeMode
Inheritance
CompositionCompositeMode
Attributes

Fields

Name Value Description
Inherit 0

Inherits mode from parent visual.

SourceOver 1

The standard Composite Mode. Colors are blended with per-pixel transparency.

DestinationInvert 2

The visual content's colors are inverted.

MinBlend 3

Visual content's colors subtract for color channels in the background.

Applies to