Xaml. Behaviors. Uwp. Managed
Easily add interactivity to your apps using XAML Behaviors. Now with UWP support! Behaviors encapsulate reusable functionalities for elements that can be easily added to your XAML without the need for more imperative code. This is the managed version for C# UWP projects.
For an example of using Behaviors in an application, here is a snippet of XAML:
<Button> <Interactivity:Interaction.Behaviors> <Core:EventTriggerBehavior EventName="Click"> <Core:ChangePropertyAction PropertyName="Background"> <Core:ChangePropertyAction.Value> <SolidColorBrush Color="Red"/> </Core:ChangePropertyAction.Value> </Core:ChangePropertyAction> </Core:EventTriggerBehavior> </Interactivity:Interaction.Behaviors> </Button>
Using Behaviors SDK
The documentation explains how to install Visual Studio, add the XAML Behaviors NuGet package to your project, and get started using the API.
This package has no dependencies.