Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 6 additions & 5 deletions dotnet/WPF/AcrylicEffect/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

This sample demonstrates the use of [Win2D](https://microsoft.github.io/Win2D/html/Introduction.htm) effects in a WPF app. It shows how to place an [acrylic](https://docs.microsoft.com/windows/uwp/design/style/acrylic) overlay on top of a picture.

![Acrylic Effect in WPF](acrylic-effect-wpf.png)
![Acrylic Effect in WPF](acrlyic-effect-wpf.png)


## Features
Expand Down Expand Up @@ -32,15 +32,16 @@ This sample requires:
- Add an app.manifest to the project.
- At the bottom, add the following:

```
``` xaml

<file name="Microsoft.Graphics.Canvas.dll">
<activatableClass
name="Microsoft.Graphics.Canvas.CanvasDevice"
threadingModel="both"
xmlns="urn:schemas-microsoft-com:winrt.v1"/>

<activatableClass name="Microsoft.Graphics.Canvas.UI.Composition.CanvasComposition"
<activatableClass
name="Microsoft.Graphics.Canvas.UI.Composition.CanvasComposition"
threadingModel="both"
xmlns="urn:schemas-microsoft-com:winrt.v1"/>

Expand All @@ -51,8 +52,8 @@ This sample requires:

<activatableClass
name="Microsoft.Graphics.Canvas.Effects.BlendEffect"
threadingModel="both"
xmlns="urn:schemas-microsoft-com:winrt.v1"/>
threadingModel="both"
xmlns="urn:schemas-microsoft-com:winrt.v1"/>

<activatableClass
name="Microsoft.Graphics.Canvas.Effects.GaussianBlurEffect"
Expand Down