IceSky.WpfAnimation 1.0.1

dotnet add package IceSky.WpfAnimation --version 1.0.1
                    
NuGet\Install-Package IceSky.WpfAnimation -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="IceSky.WpfAnimation" Version="1.0.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="IceSky.WpfAnimation" Version="1.0.1" />
                    
Directory.Packages.props
<PackageReference Include="IceSky.WpfAnimation" />
                    
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 IceSky.WpfAnimation --version 1.0.1
                    
#r "nuget: IceSky.WpfAnimation, 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 IceSky.WpfAnimation@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=IceSky.WpfAnimation&version=1.0.1
                    
Install as a Cake Addin
#tool nuget:?package=IceSky.WpfAnimation&version=1.0.1
                    
Install as a Cake Tool

WPFAnimation

This is a WPF animation library that includes several animation components, such as common animation components, animated number control, continuous path animation control, path flow animation control, geometry morph animation control, particle animation control and grid animation control.

Recommended Windows apps https://iceskydev.github.io/AppDoc/

✨ Features

  • Common animation components

    This component is a lightweight and highly stable general animation framework for WPF, which enables quick configuration of multiple animation effects for elements of FrameworkElement type. Multi-type Animation Support:

    • Basic transformation animations: Scale, Rotate, Translate and Skew
    • Visual effect animations: Blur and Shadow
    • Property animations: Width, Height, Opacity, Color, CornerRadius
  • Animated number control

    This control implements smooth numerical transition animation, it supports custom animation duration and number display formats

  • Continuous path animation control

    Its core function is to enable any UI element, shape, or control to move continuously, smoothly, and controllably along a custom continuous geometric path

  • Path flow animation control

    This control supports smooth flowing animation on custom geometric paths, This control offers two animation modes:

    • Native path dash line animation
    • Custom elements moving along the path
  • Geometry morph animation control

    The core function of this control is to achieve smooth morphing transition animations between arbitrary geometric shapes. It supports binding source and target paths, and you can also specify a list of paths for continuous animations.

  • Particle animation control

    This particle effect component supports generating dynamic particle effects based on custom contour paths

    • Adapts to any PathGeometry as the particle generation contour
    • Multiple particle generation methods and movement directions
    • Full Particle Customization: Adjustable parameters including size, color, opacity, rotation, scale, jitter, etc.
  • Grid animation control

    • Customizable grid rows/columns count, element size, horizontal/vertical spacing
    • Supports rendering of Ellipse, Rectangle, Custom Path elements
    • Supports setting custom container path geometry
    • Includes basic animations and extended high-customization animations
    • Supports animation control, include: start, stop, pause, resume

📦 Installation

Prerequisites

  • .net4.8, .NET 6.0 or later
  • Visual Studio 2022 or later (recommended)

🚀 Quick Start

Basic Usage

<Window xmlns:ctrl="clr-namespace:IceSky.WpfAnimation.Controls;assembly=IceSky.WpfAnimation"
        xmlns:model="clr-namespace:IceSky.WpfAnimation.Models;assembly=IceSky.WpfAnimation"
        xmlns:anim="clr-namespace:IceSky.WpfAnimation.GridAnimations;assembly=IceSky.WpfAnimation">
    <Window.Resources>
        <ResourceDictionary>
            <ResourceDictionary.MergedDictionaries>
                <ResourceDictionary Source="pack://application:,,,/IceSky.WpfAnimation;component/Generic.xaml"/>
            </ResourceDictionary.MergedDictionaries>
        </ResourceDictionary>
    </Window.Resources>
  ...
  
  <control:AnimatedNumber TargetValue="{Binding Text}"/>

  
  <control:PathAnimationControl PathData="{Binding Text}"/>

  
  <control:GeometryMorphControl FromGeometry="{Binding FromData}"
                                ToGeometry="{Binding ToData}"/>
    
  
  <control:ParticleVisualHost />

  
  <model:AnimationSetting x:Key="ScaleInX"
        AnimationType="Double" TargetProperty="ScaleX"
        FromValue="0" ToValue="1" Duration="1000"/>

  
  <control:GridElementControl>
    
    <model:ElementTemplateConfig ShapeType="CustomPath" CustomPathGeometry="M50,0 L100,100 L0,100 Z">
      <model:ElementTemplateConfig.ElementStyle>
        <Style TargetType="Path">
          <Setter Property="Fill" Value="#fA90E2"/>
          <Setter Property="Stroke" Value="#28f585"/>
          <Setter Property="StrokeThickness" Value="1"/>
        </Style>
      </model:ElementTemplateConfig.ElementStyle>
    </model:ElementTemplateConfig>
  </control:GridElementControl>
</Window>

💡Add package from nuget

dotnet add package IceSky.WpfAnimation

Document

Document Url

Product Compatible and additional computed target framework versions.
.NET net6.0-windows7.0 is compatible.  net7.0-windows was computed.  net8.0-windows was computed.  net8.0-windows7.0 is compatible.  net9.0-windows was computed.  net10.0-windows was computed. 
.NET Framework net48 is compatible.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • .NETFramework 4.8

    • No dependencies.
  • net6.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 169 5/1/2026
1.0.0 134 4/6/2026