Edit

Share via


BlendEffect Class

Definition

A blend effect that merges the current builder with an input one

[Windows.UI.Xaml.Markup.ContentProperty(Name="Effects")]
public sealed class BlendEffect : Microsoft.Toolkit.Uwp.UI.Media.PipelineEffect
[<Windows.UI.Xaml.Markup.ContentProperty(Name="Effects")>]
type BlendEffect = class
    inherit PipelineEffect
Public NotInheritable Class BlendEffect
Inherits PipelineEffect
Inheritance
Windows.UI.Xaml.DependencyObject
BlendEffect
Attributes
Windows.UI.Xaml.Markup.ContentPropertyAttribute

Remarks

This effect maps to the Win2D Microsoft.Graphics.Canvas.Effects.BlendEffect effect

Constructors

BlendEffect()

Properties

Brush

Gets the current Windows.UI.Composition.CompositionBrush instance, if one is in use.

(Inherited from PipelineEffect)
Effects

Gets or sets the effects to apply to the input to merge with the current instance

IsAnimatable

Gets or sets a value indicating whether the effect can be animated.

(Inherited from PipelineEffect)
Mode

Gets or sets the blending mode to use (the default mode is Multiply)

Placement

Gets or sets the placement of the input builder with respect to the current one (the default is Foreground)

Source

Gets or sets the input to merge with the current instance (defaults to a BackdropSourceExtension with Windows.UI.Xaml.Media.AcrylicBackgroundSource.Backdrop source).

Methods

AppendToBuilder(PipelineBuilder)

Appends the current effect to the input PipelineBuilder instance.

NotifyCompositionBrushInUse(CompositionBrush)

Notifies that a given Windows.UI.Composition.CompositionBrush is now in use.

Applies to