Skip to main content
net8.0-windows10.0.26100net9.0-windows10.0.26100UAP10.0.17763

Create animated Media effects on UI elements. Saturation, Opacity, Color, CrossFade, Exposure, Sepia, HueRotation, and more.

Published
Jan 28, 2025
1y ago
Total Downloads
41.0K
40,958

Install

dotnet add package CommunityToolkit.Uwp.Media --version 8.2.250129-preview2
ProductVersions
.NET
net8.0-windows10.0.26100net9.0-windows10.0.26100
Universal Windows Platform
uap10.0.17763

README

Windows Community Toolkit - Media

This package is part of the Windows Community Toolkit from the .NET Foundation.

Package Contents

This package contains the following in the CommunityToolkit.WinUI.Media namespace:

  • AcrylicBrush
  • AttachedCardShadow
  • BackdropBlurBrush
  • BackdropGammaTransferBrush
  • BackdropInvertBrush
  • BackdropSaturationBrush
  • BackdropSepiaBrush
  • BlendEffect
  • BlurEffect
  • BlurEffectAnimation
  • CanvasBlurBrush
  • ColorEffectAnimation
  • CrossFadeEffect
  • CrossFadeEffectAnimation
  • ExposureEffect
  • ExposureEffectAnimation
  • GrayscaleEffect
  • HueRotationEffect
  • HueRotationEffectAnimation
  • ImageBlendBrush
  • InvertEffect
  • LuminanceToAlphaEffect
  • OpacityEffect
  • OpacityEffectAnimation
  • PipelineBuilder
  • PipelineVisualFactory
  • SaturationEffect
  • SaturationEffectAnimation
  • SepiaEffect
  • SepiaEffectAnimation
  • ShadeEffect
  • SurfaceLoader
  • TemperatureAndTintEffect
  • TilesBrush
  • TintEffect
  • XamlCompositionBrush

Which Package is for me?

If you're developing with UWP/WinUI 2 or Uno.UI you should be using the CommunityToolkit.Uwp.Media package.

If you're developing with WindowsAppSDK/WinUI 3 or Uno.WinUI you should be using the CommunityToolkit.WinUI.Media package.

Documentation

Further documentation about these components can be found at: https://aka.ms/windowstoolkitdocs

License

MIT

See License.md in package for more details.

Changes from Previous Version

v8.2.241112-preview1v8.2.250129-preview2
Added Frameworks
net8.0-windows10.0.26100net9.0-windows10.0.26100
Added Dependencies
CommunityToolkit.Uwp.Animations(net8.0-windows10.0.26100)
CommunityToolkit.Uwp.Extensions(net8.0-windows10.0.26100)
Microsoft.UI.Xaml(net8.0-windows10.0.26100)
Win2D.uwp(net8.0-windows10.0.26100)
CommunityToolkit.Uwp.Animations(net9.0-windows10.0.26100)
CommunityToolkit.Uwp.Extensions(net9.0-windows10.0.26100)
Microsoft.UI.Xaml(net9.0-windows10.0.26100)
Win2D.uwp(net9.0-windows10.0.26100)
Microsoft.Web.WebView2(UAP10.0.17763)

Adoption Assessment

A verified publisher signal is available. Assess fit from the package's supported frameworks, license and dependency graph rather than popularity alone.

This version is marked prerelease. Validate its API and upgrade path before production use.Compatibility metadata lists 3 target frameworks; confirm the exact target used by your application.The published metadata declares 14 direct dependency entries across framework groups. Inspect the resolved dependency graph for your target framework.

Related Guides & Workflows

Learn how to evaluate, integrate, or audit this package in your .NET project.