Branch: master
Clone or download
Pull request Compare This branch is 10 commits behind ascora:master.
Latest commit e0885b8 Dec 31, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github/ISSUE_TEMPLATE Update issue templates Sep 19, 2018
Images icon and nuget file preparation Dec 31, 2018
LottieSharp.Sample Initial commit Sep 19, 2018
LottieSharp Updated readme Dec 31, 2018
.gitignore Initial commit Sep 19, 2018
LICENSE Update LICENSE Sep 19, 2018
LottieSharp.sln Initial commit Sep 19, 2018
README.md Updated readme Dec 31, 2018

README.md

LottieSharp

Logo C# (WPF) port of Lottie (https://github.com/airbnb/lottie-android) based on .NET Framework 4.6.1 using sharpdx (http://sharpdx.org/)

Usage

  • Install from nuget: LottieSharp;

  • Import into your xaml the library

    xmlns:lottieSharp="clr-namespace:LottieSharp;assembly=LottieSharp"

  • Now you can include the control in your layout

    <lottieSharp:LottieAnimationView x:Name="LottieAnimationView" DefaultCacheStrategy="None" FileName="Assets/Spider Loader.json" AutoPlay="True" VerticalAlignment="Center" HorizontalAlignment="Center"/>

The FileName property points to an After Effects animation file. You can write the filename in xaml like shown or bind to a property in your viewmodel.

The AutoPlay property indicates if the animation starts when the usercontrol is loaded.

There are many free animations at: LottieFiles