xamlbehaviors-nightly - Avalonia.Xaml.Interactions.Scripting 11.3.0.3-build20250520-23

Easily add scripting interactivity to Avalonia apps using Roslyn C# scripts.

PM> Install-Package Avalonia.Xaml.Interactions.Scripting -Version 11.3.0.3-build20250520-23 -Source https://www.myget.org/F/xamlbehaviors-nightly/api/v3/index.json

Copy to clipboard

> nuget.exe install Avalonia.Xaml.Interactions.Scripting -Version 11.3.0.3-build20250520-23 -Source https://www.myget.org/F/xamlbehaviors-nightly/api/v3/index.json

Copy to clipboard

> dotnet add package Avalonia.Xaml.Interactions.Scripting --version 11.3.0.3-build20250520-23 --source https://www.myget.org/F/xamlbehaviors-nightly/api/v3/index.json

Copy to clipboard
<PackageReference Include="Avalonia.Xaml.Interactions.Scripting" Version="11.3.0.3-build20250520-23" />
Copy to clipboard
source https://www.myget.org/F/xamlbehaviors-nightly/api/v3/index.json

nuget Avalonia.Xaml.Interactions.Scripting  ~> 11.3.0.3-build20250520-23
Copy to clipboard

> choco install Avalonia.Xaml.Interactions.Scripting --version 11.3.0.3-build20250520-23 --source https://www.myget.org/F/xamlbehaviors-nightly/api/v2

Copy to clipboard
Import-Module PowerShellGet
Register-PSRepository -Name "xamlbehaviors-nightly" -SourceLocation "https://www.myget.org/F/xamlbehaviors-nightly/api/v2"
Install-Module -Name "Avalonia.Xaml.Interactions.Scripting" -RequiredVersion "11.3.0.3-build20250520-23" -Repository "xamlbehaviors-nightly" -AllowPreRelease
Copy to clipboard

XAML Behaviors

CI Release

NuGet NuGet

Xaml Behaviors is a port of Windows UWP version of XAML Behaviors for Avalonia XAML.

XAML Behaviors for Avalonia is an easy-to-use means of adding common and reusable interactivity to your Avalonia applications with minimal code. Avalonia port is available only for managed applications. Use of XAML Behaviors is governed by the MIT License.

Building XAML Behaviors Avalonia

First, clone the repository or download the latest zip.

git clone https://github.com/wieslawsoltes/Xaml.Behaviors.git

Build on Windows using script

Open up a command-prompt and execute the commands:

.\build.ps1

Build on Linux using script

Open up a terminal prompt and execute the commands:

./build.sh

Build on OSX using script

Open up a terminal prompt and execute the commands:

./build.sh

NuGet

Avalonia XamlBehaviors is delivered as a NuGet package.

You can find the packages here NuGet and install the package like this:

Install-Package Xaml.Behaviors

or by using nightly build feed:

  • Add https://www.myget.org/F/xamlbehaviors-nightly/api/v2 to your package sources
  • Alternative nightly build feed https://pkgs.dev.azure.com/wieslawsoltes/GitHub/_packaging/Nightly/nuget/v3/index.json
  • Update your package using XamlBehaviors feed

and install the package like this:

Install-Package Xaml.Behaviors -Pre

Package Sources

Available Packages

Package NuGet Description
Xaml.Behaviors NuGet Complete library of behaviors, actions and triggers for Avalonia applications.
Xaml.Behaviors.Avalonia NuGet Meta package that bundles all Avalonia XAML Behaviors for easy installation.
Xaml.Behaviors.Interactivity NuGet Foundation library providing base classes for actions, triggers and behaviors.
Xaml.Behaviors.Interactions NuGet Core collection of common triggers and actions for Avalonia.
Xaml.Behaviors.Interactions.Custom NuGet Custom behaviors and actions for common Avalonia controls.
Xaml.Behaviors.Interactions.DragAndDrop NuGet Behaviors that enable drag-and-drop support in Avalonia.
Xaml.Behaviors.Interactions.DragAndDrop.DataGrid NuGet DataGrid-specific drag-and-drop helpers built on top of the drag-and-drop framework.
Xaml.Behaviors.Interactions.Draggable NuGet Draggable element behaviors for moving controls around.
Xaml.Behaviors.Interactions.Events NuGet Behaviors responding to Avalonia input and focus events.
Xaml.Behaviors.Interactions.ReactiveUI NuGet Behaviors integrating ReactiveUI navigation patterns.
Xaml.Behaviors.Interactions.Responsive NuGet Behaviors to assist with responsive and adaptive UI layouts.
Xaml.Behaviors.Interactions.Scripting NuGet Execute C# scripts at runtime to add dynamic behavior.

Docs

XAML Behaviors for Avalonia documentation.

Logo

The logo features a stylized hexagon (representing a behavior/component) with a gradient in Avalonia-like colors (purple/violet) and a white lightning bolt (representing interactivity/triggers) in the center.

Logo

Resources

License

XAML Behaviors is licensed under the MIT license.

  • .NETFramework 6.0
    • Avalonia (>= 11.3.0)
    • Avalonia.Xaml.Interactivity (>= 11.3.0.3-build20250520-23)
    • Microsoft.CodeAnalysis.CSharp.Scripting (>= 4.14.0)
  • .NETFramework 8.0
    • Avalonia (>= 11.3.0)
    • Avalonia.Xaml.Interactivity (>= 11.3.0.3-build20250520-23)
    • Microsoft.CodeAnalysis.CSharp.Scripting (>= 4.14.0)
  • .NETFramework 6.0: 6.0.0.0
  • .NETFramework 8.0: 8.0.0.0

Owners

Wiesław Šoltés

Authors

Wiesław Šoltés

Project URL

https://github.com/wieslawsoltes/Xaml.Behaviors

License

Unknown

Tags

Avalonia Behavior Action Scripting Roslyn Xaml

Info

0 total downloads
0 downloads for version 11.3.0.3-build20250520-23
Download (32.23 KB)
Found on the current feed only

Package history

Version Size Last updated Downloads Mirrored?
11.3.0.4-build20250520-34 32.26 KB Tue, 20 May 2025 11:18:51 GMT 0
11.3.0.4-build20250520-36 32.23 KB Tue, 20 May 2025 12:57:28 GMT 0
11.3.0.4-build20250520-45 32.25 KB Tue, 20 May 2025 15:35:12 GMT 0
11.3.0.4-build20250520-47 32.25 KB Tue, 20 May 2025 17:21:50 GMT 0
11.3.0.4-build20250520-60 32.22 KB Tue, 20 May 2025 19:34:49 GMT 0
11.3.0.4-build20250520-62 32.22 KB Tue, 20 May 2025 19:45:31 GMT 0
11.3.0.4-build20250520-63 32.25 KB Tue, 20 May 2025 19:46:30 GMT 0
11.3.0.4-build20250520-64 32.24 KB Tue, 20 May 2025 19:47:30 GMT 0
11.3.0.4-build20250520-65 32.24 KB Tue, 20 May 2025 19:49:29 GMT 0
11.3.0.4-build20250520-67 32.24 KB Tue, 20 May 2025 20:05:34 GMT 0
11.3.0.4-build20250520-69 32.26 KB Tue, 20 May 2025 20:09:15 GMT 0
11.3.0.3-build20250520-11 32.22 KB Tue, 20 May 2025 09:29:33 GMT 0
11.3.0.3-build20250520-12 32.23 KB Tue, 20 May 2025 09:38:22 GMT 0
11.3.0.3-build20250520-14 32.22 KB Tue, 20 May 2025 09:49:56 GMT 0
11.3.0.3-build20250520-18 32.23 KB Tue, 20 May 2025 09:58:52 GMT 0
11.3.0.3-build20250520-19 32.24 KB Tue, 20 May 2025 09:59:49 GMT 0
11.3.0.3-build20250520-22 32.24 KB Tue, 20 May 2025 10:09:17 GMT 0
11.3.0.3-build20250520-23 32.23 KB Tue, 20 May 2025 10:19:11 GMT 0
11.3.0.3-build20250520-30 32.23 KB Tue, 20 May 2025 11:06:52 GMT 0
11.3.0.3-build20250520-32 32.24 KB Tue, 20 May 2025 11:13:46 GMT 0
11.3.0.2-build20250519-21 29.04 KB Mon, 19 May 2025 09:44:32 GMT 0
11.3.0.2-build20250519-23 32.24 KB Mon, 19 May 2025 09:58:50 GMT 0
11.3.0.2-build20250519-30 32.25 KB Mon, 19 May 2025 11:37:27 GMT 0
11.3.0.2-build20250519-31 32.27 KB Mon, 19 May 2025 11:38:20 GMT 0
11.3.0.2-build20250519-36 32.25 KB Mon, 19 May 2025 13:25:29 GMT 0
11.3.0.2-build20250519-37 32.24 KB Mon, 19 May 2025 13:26:31 GMT 0
11.3.0.2-build20250519-39 32.26 KB Mon, 19 May 2025 13:47:20 GMT 0
11.3.0.2-build20250519-42 32.27 KB Mon, 19 May 2025 14:28:49 GMT 0
11.3.0.2-build20250520-03 32.24 KB Tue, 20 May 2025 08:37:11 GMT 0
11.3.0.2-build20250520-04 32.25 KB Tue, 20 May 2025 08:38:10 GMT 0
11.3.0.1-build20250519-16 29.01 KB Mon, 19 May 2025 09:12:15 GMT 0
11.3.0.1-build20250519-20 29.03 KB Mon, 19 May 2025 09:39:50 GMT 0