CrossFadeEffect Class

Definition

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

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

Remarks

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

Constructors

CrossFadeEffect()

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

Factor

Gets or sets the The cross fade factor to blend the input effects (default to 0.5, should be in the [0, 1] range)

IsAnimatable

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

(Inherited from PipelineEffect)
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