{"id":25421293,"url":"https://github.com/rodrigoelp/wpfgesturerecognizer","last_synced_at":"2025-10-31T11:30:42.905Z","repository":{"id":32225843,"uuid":"35799858","full_name":"rodrigoelp/wpfgesturerecognizer","owner":"rodrigoelp","description":"The WPFGestureRecognizer is a library for .net framework applications based on WPF to wrap around UIElement's manipulation API, digesting and processing the events into gestures (swipes, taps, multi-touch) so developers can mimic the behaviour on WinRT apps in WPF. If you want to know more about the project, read the readme.md file.","archived":false,"fork":false,"pushed_at":"2017-08-07T05:31:48.000Z","size":24280,"stargazers_count":27,"open_issues_count":4,"forks_count":9,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-16T11:51:55.483Z","etag":null,"topics":["dotnet","gesture","swipe","wpf"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"zixun/GodEye","license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rodrigoelp.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-05-18T06:06:56.000Z","updated_at":"2025-02-05T07:56:50.000Z","dependencies_parsed_at":"2022-09-08T20:52:03.081Z","dependency_job_id":null,"html_url":"https://github.com/rodrigoelp/wpfgesturerecognizer","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rodrigoelp%2Fwpfgesturerecognizer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rodrigoelp%2Fwpfgesturerecognizer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rodrigoelp%2Fwpfgesturerecognizer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rodrigoelp%2Fwpfgesturerecognizer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rodrigoelp","download_url":"https://codeload.github.com/rodrigoelp/wpfgesturerecognizer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239190547,"owners_count":19597346,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["dotnet","gesture","swipe","wpf"],"created_at":"2025-02-16T20:25:49.555Z","updated_at":"2025-10-31T11:30:42.843Z","avatar_url":"https://github.com/rodrigoelp.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"## What is WPF Gesture Recognizer?\n\nWindows Tablets are slowly taking a market and some software developers feel the need to move their applications to a modern UI, similar to those offered by WinRT.\n\nSadly at the moment, there is no gesture recognition built in for Windows Presentation Foundation applications, and there are applications bound to Windows Desktop Mode. For them, needing to perform Swipes on a tablet on a desktop application there was no support although .net Framework exposes some events that can be used to implement said gestures.\n\nThis library wraps those events so you don't have to go through the same process we had to do so implement something as basic as a gesture for a touch device.\n\n## Code Example\n\nGrab [WPFGestureRecognizer from NuGet](https://www.nuget.org/packages/WPFGestureRecognizer/) and add it to your references in your project (On Visual Studio is just add a nuget package to your WPF application).\n\nThen on your xaml page you should add a recognition area. It can be any [UI element](https://msdn.microsoft.com/en-us/library/system.windows.frameworkelement%28v=vs.110%29.aspx) such as a Border or a Grid. Add [`System.Widnows.Interactivity`](https://msdn.microsoft.com/en-us/library/system.windows.interactivity\\(v=expression.45\\).aspx) and `Org.Interactivity.Recognizer` and off you go.\n\n#### Simple example To start with:\n```xml\n\u003cWindow\n  xmlns:i=\"http://schemas.microsoft.com/expression/2010/interactivity\"\n  xmlns:ei=\"http://schemas.microsoft.com/expression/2010/interactions\" \n  xmlns:r=\"clr-namespace:Org.Interactivity.Recognizer;assembly=Org.Interactivity.Recognizer\"\n  \u003e\n  \u003cGrid\u003e\n     \u003ci:Interaction.Triggers\u003e\n      \u003cr:GestureRecognizer TriggerOnGesture=\"SwipeDown\"\u003e\n        \u003cei:ChangePropertyAction PropertyName=\"Background\" Value=\"DarkBlue\" /\u003e\n      \u003c/r:GestureRecognizer\u003e\n     \u003c/i:Interaction.Triggers\u003e\n  \u003c/Grid\u003e\n\u003c/Window\u003e\n```\n\n## Contributors\n\n**Want to contribute? Or add more gestures like rotation, skew, and/or zoom?**\n\nSubmit your pull request!\n\n**Want a specific gesture?**\n\nCreate an issue to be able to track it.\n\n\n## License\nDistributed under Apache License v2.0","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frodrigoelp%2Fwpfgesturerecognizer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frodrigoelp%2Fwpfgesturerecognizer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frodrigoelp%2Fwpfgesturerecognizer/lists"}