Devolutions.AvaloniaControls 2025.8.27

Prefix Reserved
dotnet add package Devolutions.AvaloniaControls --version 2025.8.27
                    
NuGet\Install-Package Devolutions.AvaloniaControls -Version 2025.8.27
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Devolutions.AvaloniaControls" Version="2025.8.27" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Devolutions.AvaloniaControls" Version="2025.8.27" />
                    
Directory.Packages.props
<PackageReference Include="Devolutions.AvaloniaControls" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Devolutions.AvaloniaControls --version 2025.8.27
                    
#r "nuget: Devolutions.AvaloniaControls, 2025.8.27"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Devolutions.AvaloniaControls@2025.8.27
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Devolutions.AvaloniaControls&version=2025.8.27
                    
Install as a Cake Addin
#tool nuget:?package=Devolutions.AvaloniaControls&version=2025.8.27
                    
Install as a Cake Tool

image

Custom Avalonia Controls developed by Devolutions

License: MIT Build Status NuGet Version NuGet Downloads

Custom Controls [Work in Progress]

In this package we publish various custom controls as well as converters, markup extensions and other helper utilities used in our themes and Devolutions Remote Desktop Manager. The more generically useful ones are listed here (full documentation tba ...).

Installation

Install the Devolutions.AvaloniaControls package via NuGet:

Install-Package Devolutions.AvaloniaControls

or .NET

dotnet add package Devolutions.AvaloniaControls

Controls

  • EditableComboBox
  • SearchHighlightTextBlock
  • TabPane (Extends TabControl for different styling only)

Converters

Usage: Converter={x:Static DevoConverters.<ConverterName>}

  • ColorToCssFillConverter <br />ConverterParameter: class(es) of the path(s) to apply colour to <br /> Converts a Brush and CSS class(es) into a CSS string for SVG path styling.
  • CornerRadiusExtractor <br />ConverterParameter: predefined CornerRadiusSubset (enum) <br /> Returns a new CornerRadius, to selectively apply a given CornerRadius to a subset of the four corners (0 to the others)
  • HasClass / HasNotClass <br />ConverterParameter: class name to check for <br /> Returns a boolean depending on whether the given element has the given class
  • ThicknessExtractor <br />ConverterParameter: predefined ThicknessSubset (enum) <br /> Returns a new Thickness, to selectively apply a given Thickness to a subset of the four sides (0 to the others)

MultiConverters

Usage: <MultiBinding Converter="{x:Static DevoMultiConverters.<ConverterName>}">

  • BooleanToChoiceConverter <br /> Takes a boolean and two value choices. I checks for the presence of the class given as ConverterParameter and returns the first choice value if found, or the second one otherwise. <br /> ➡️ Use the BindingToggler MarkupExtension instead for a more streamlined syntax.
  • ClassToChoiceConverter <br /> Takes a control's classes and two value choices. I checks for the presence of the class given as ConverterParameter and returns the first choice value if found, or the second one otherwise.
  • FirstNonEmptyStringMultiConverter <br /> Returns the first non-empty string in the multi-value binding, ignores the rest
  • FirstNonNullValueMultiConverter <br /> Returns the first non-null value in the multi-value binding, ignores the rest
  • IsExplicitlyTrueConverter <br /> Takes a single input and returns a boolean based on whether the input is a boolean and true (useful to convert a possible AvaloniaProperty.UnsetValue to 'False' for use in other boolean operations)
  • IsUnsetConverter <br /> Takes a single input and returns True if it is AvaloniaProperty.UnsetValue.

MarkupExtensions

  • AddBinding
  • MultiplyBinding
  • AndBinding
  • OrBinding
  • BindingToggler
  • DynamicResourceToggler
  • WindowActiveBindingToggler
  • WindowActiveResourceToggler
  • WindowIsActiveBinding
  • ChangeColorOpacity
Product Compatible and additional computed target framework versions.
.NET net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (3)

Showing the top 3 NuGet packages that depend on Devolutions.AvaloniaControls:

Package Downloads
Devolutions.AvaloniaTheme.DevExpress

Devolutions Avalonia DevExpress Theme

Devolutions.AvaloniaTheme.MacOS

Devolutions Avalonia macOS Theme

Devolutions.AvaloniaTheme.Linux

Devolutions Avalonia Linux Theme (Yaru)

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
2025.8.27 377 8/27/2025
2025.8.26 193 8/26/2025
2025.8.8 316 8/8/2025
2025.7.15 492 7/15/2025
2025.7.10.2 147 7/10/2025
2025.7.10 173 7/10/2025
2025.6.27 258 6/27/2025
2025.6.9 894 6/9/2025
2025.6.3 247 6/3/2025
2025.5.28 318 5/28/2025