🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Sign inDemoInstall
Socket

JKamsker.Parallax.WPF-Ng

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

JKamsker.Parallax.WPF-Ng

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

1.0.10
NuGet
Version published
Maintainers
1
Created
Source

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

Keywords

wpf

FAQs

Package last updated on 26 Nov 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts