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
<PackageReference Include="Devolutions.AvaloniaControls" Version="2025.8.27" />
<PackageVersion Include="Devolutions.AvaloniaControls" Version="2025.8.27" />
<PackageReference Include="Devolutions.AvaloniaControls" />
paket add Devolutions.AvaloniaControls --version 2025.8.27
#r "nuget: Devolutions.AvaloniaControls, 2025.8.27"
#:package Devolutions.AvaloniaControls@2025.8.27
#addin nuget:?package=Devolutions.AvaloniaControls&version=2025.8.27
#tool nuget:?package=Devolutions.AvaloniaControls&version=2025.8.27
Custom Avalonia Controls developed by Devolutions
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
(ExtendsTabControl
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: predefinedCornerRadiusSubset
(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 classThicknessExtractor
<br />ConverterParameter: predefinedThicknessSubset
(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 asConverterParameter
and returns the first choice value if found, or the second one otherwise. <br /> ➡️ Use theBindingToggler
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 asConverterParameter
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 restFirstNonNullValueMultiConverter
<br /> Returns the first non-null value in the multi-value binding, ignores the restIsExplicitlyTrueConverter
<br /> Takes a single input and returns a boolean based on whether the input is a boolean and true (useful to convert a possibleAvaloniaProperty.UnsetValue
to 'False' for use in other boolean operations)IsUnsetConverter
<br /> Takes a single input and returnsTrue
if it isAvaloniaProperty.UnsetValue
.
MarkupExtensions
AddBinding
MultiplyBinding
AndBinding
OrBinding
BindingToggler
DynamicResourceToggler
WindowActiveBindingToggler
WindowActiveResourceToggler
WindowIsActiveBinding
ChangeColorOpacity
Product | Versions 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. |
-
net9.0
- Avalonia (>= 11.2.1)
- Irihi.Ursa (>= 1.12.0)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 9.0.8)
- System.Reactive (>= 6.0.1)
- Xaml.Behaviors (>= 11.2.0)
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.