Wpf.Confetti 1.0.1

dotnet add package Wpf.Confetti --version 1.0.1
                    
NuGet\Install-Package Wpf.Confetti -Version 1.0.1
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Wpf.Confetti" Version="1.0.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Wpf.Confetti" Version="1.0.1" />
                    
Directory.Packages.props
<PackageReference Include="Wpf.Confetti" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Wpf.Confetti --version 1.0.1
                    
#r "nuget: Wpf.Confetti, 1.0.1"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Wpf.Confetti@1.0.1
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Wpf.Confetti&version=1.0.1
                    
Install as a Cake Addin
#tool nuget:?package=Wpf.Confetti&version=1.0.1
                    
Install as a Cake Tool

WpfConfetti 🎉

A lightweight WPF confetti control with burst, cannons, and rain modes.

GIF

Usage

Add the control to your XAML:

xmlns:confetti="clr-namespace:Wpf.Confetti;assembly=Wpf.Confetti"

<confetti:ConfettiControl x:Name="Confetti"/>

Then trigger effects from code:

// One-time burst from center
Confetti.Burst();

// Cannons from both sides
Confetti.Cannons();

// Continuous rain
Confetti.StartRain();
Confetti.StopRain();

API

Method Parameters
Burst amount, position, minSpeed/maxSpeed, minSize/maxSize, minAngle/maxAngle, gravity, colors
Cannons amount, rate, spread, minSpeed/maxSpeed, minSize/maxSize, gravity, colors
StartRain rate, minSpeed/maxSpeed, minSize/maxSize, gravity, colors
StopRain
Product Compatible and additional computed target framework versions.
.NET net8.0-windows7.0 is compatible.  net9.0-windows was computed.  net10.0-windows was computed.  net10.0-windows7.0 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net10.0-windows7.0

    • No dependencies.
  • net8.0-windows7.0

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.1 33 3/8/2026
1.0.0 38 3/7/2026