Skip to main content
.NETFramework4.7.NETCoreApp3.0

Parallax.WPF is a library for creating parallax effects in WPF applications.

Published
Nov 26, 2023
2y ago
Total Downloads
738
738

Install

dotnet add package JKamsker.Parallax.WPF-Ng --version 1.0.10
ProductVersions
Other
.NETCoreApp3.0.NETFramework4.7

README

Parallax.WPF

Parallax Effect for WPF

This is a fork from https://github.com/Pyrathlon/Parallax.WPF where I added a Nuget package

Install with Nuget

Install-Package JKamsker.Parallax.WPF-Ng

After you installed Parallax.WPF

  • Add reference :
xmlns:i="http://schemas.microsoft.com/xaml/behaviors"
xmlns:parallax="clr-namespace:Parallax.WPF;assembly=Parallax.WPF"
  • Use the effect like this :
<Image Source="Images/Backgrounds/cosmo_bg.PNG" Margin="-30" Stretch="UniformToFill"
                     parallax:ParallaxEffect.Parent="{Binding ElementName=TopGrid}"
                     parallax:ParallaxEffect.UseParallax="True"
                     parallax:ParallaxEffect.XOffset="50"
                     parallax:ParallaxEffect.YOffset="50">
    <i:Interaction.Behaviors>
        <parallax:ParallaxEffect/>
    </i:Interaction.Behaviors>
</hc:GifImage>

Demo

https://user-images.githubusercontent.com/17864005/113509902-49a2d180-9558-11eb-9ebf-711a2ea33e2a.mp4

Changes from Previous Version

No structural changes between v1.0.9 and v1.0.10.

Adoption Assessment

Assess this package against its supported frameworks, license, maintenance signals and dependency graph before making it a project standard.

Compatibility metadata lists 2 target frameworks; confirm the exact target used by your application.

Related Guides & Workflows

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