Edit

Share via


GrayscaleEffect Class

Definition

A grayscale effect

public sealed class GrayscaleEffect : Microsoft.Toolkit.Uwp.UI.Media.PipelineEffect
type GrayscaleEffect = class
    inherit PipelineEffect
Public NotInheritable Class GrayscaleEffect
Inherits PipelineEffect
Inheritance
Windows.UI.Xaml.DependencyObject
GrayscaleEffect

Remarks

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

Constructors

GrayscaleEffect()

Properties

Brush

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

(Inherited from PipelineEffect)
IsAnimatable

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

(Inherited from PipelineEffect)

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.

(Inherited from PipelineEffect)

Applies to