microsoft/XamlBehaviorsWpf

Home for WPF XAML Behaviors on GitHub.

C#

912

291 commits

updated Oct 15, 2026

See the code

README

XamlBehaviors for WPF

XAML Behaviors is an easy-to-use means of adding common and reusable interactivity to your WPF applications with minimal code. Use of XAML Behaviors is governed by the MIT License. We are working with a committee of Microsoft MVP leaders to guide the Behaviors project and evaluate incoming pull requests.

Getting Started

Where to get it

Resources

More Info

Using Behaviors SDK

To use behaviors in your project, add the Microsoft.Xaml.Behaviors.Wpf NuGet package to your project.

Buiding Behaviors from Source

What You Need

Clone the Repository

Build and Create XAML Behaviors NuGet

  • Open a Visual Studio developer command prompt
  • Navigate to the XAML Behaviors for WPF repository
  • Run msbuild src\Microsoft.Xaml.Behaviors\Microsoft.Xaml.Behaviors.csproj /t:Pack

Contributing

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact [email protected] with any additional questions or comments.

microsoft/XamlBehaviorsWpf

Home for WPF XAML Behaviors on GitHub.

C#

912

291 commits

updated Oct 15, 2026

See the code

README

XamlBehaviors for WPF

XAML Behaviors is an easy-to-use means of adding common and reusable interactivity to your WPF applications with minimal code. Use of XAML Behaviors is governed by the MIT License. We are working with a committee of Microsoft MVP leaders to guide the Behaviors project and evaluate incoming pull requests.

Getting Started

Where to get it

Resources

More Info

Using Behaviors SDK

To use behaviors in your project, add the Microsoft.Xaml.Behaviors.Wpf NuGet package to your project.

Buiding Behaviors from Source

What You Need

Clone the Repository

Build and Create XAML Behaviors NuGet

  • Open a Visual Studio developer command prompt
  • Navigate to the XAML Behaviors for WPF repository
  • Run msbuild src\Microsoft.Xaml.Behaviors\Microsoft.Xaml.Behaviors.csproj /t:Pack

Contributing

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact [email protected] with any additional questions or comments.

Project health

Overall

7.0/10

Maintained

5/10

Code review

9/10
OpenSSF Scorecard

Latest release

1.1.161 · Sep 15, 2026

Releases this year

4

Significant stargazers

Lucas Trzesniewski

116 followers · starred Dec 2018

Piotr Błażejewicz (Peter Blazejewicz)

271 followers · starred Aug 2023

Bennet Bo Fenner

94 followers · starred Jan 2021

Edouard Choinière

35 followers · starred Jan 2025