Avalonia Controls v25.2.2 Release

Announcements Forum

Posted 6 hours ago by Actipro Software Support - Cleveland, OH, USA
Avatar

A new update for our Avalonia UI controls have been released.  This new version makes improvements across the entire product line.  One particularly nice new feature is the ability to now use SVG images with our ImageProvider infrastructure and DynamicImage control.

See our documentation's Getting Started section to learn how to download our open-source samples and take our Avalonia UI controls for a test drive.

Detailed Update List

Bars

  • Added RibbonViewModel.SelectedItem property for the currently selected RibbonTabViewModel.
  • Added an InvocationFocusBehavior property to most bar controls that determines how focus should be handled following the primary invocation of the control.
  • Improved RibbonGallery keyboard navigation to better match Office behavior.
  • Improved UI Automation for BarComboBox.
  • Updated RibbonWindow to apply Window.Padding to the window content area. This, combined with new WindowTitleBar.CanConfigureWindowOffScreenMargin property, improves the window layout when maximized.
  • Updated RibbonViewModel to synchronize the SelectedItem property with the Tabs collection by always selecting the first tab when no selection is currently defined or the previous selection is removed.
  • Fixed an issue introduced in the previous build where XAML-defined ribbon gallery popups didn't render the implicit menu gallery correctly.
  • Fixed an issue where in-ribbon galleries that were updated when their parent tab was not selected may not invalidate measurement.
  • Fixed InvalidOperationException that might be thrown when using a background thread to change properties of the selected item in a BarComboBox.
  • Fixed a rare issue with a Ribbon using simplified layout where some non-Bars controls might not render in the ribbon if the RibbonGroup was collapsing.
  • Fixed an issue where clicking in the empty space of a Ribbon might unexpectedly move focus into the Ribbon.

Docking

  • Updated DockSiteLayoutSerializer to support AOT trimming by providing a solution that does not use XmlSerializer.
  • Fixed an issue with MVVM usage where docking window views could be recreated in certain scenarios.
  • Fixed an issue where a non-hosted floating preview window might not close properly after dragging a docking window to float.
  • Fixed an issue where AdvancedTabItem Header and HeaderTemplate properties were not able to be customized properly.
  • Fixed an issue where tool windows may not hide their title bar when requested to do so.
  • Fixed an issue where dragging a window on macOS with Avalonia v11.3.9 might cause the window to jump around while dragging.

Fundamentals

  • Added SettingsExpander properties ExpanderIcon, ExpanderIconTemplate, IsExpanderIconVisible, and CanRotateExpanderIcon that can be used to customize the appearance of the expansion indicator.
  • Added SettingsExpander.CanToggleExpansion property that, when set to False, prevents the user from changing the expansion state without having to disable the entire control.
  • Added UserPromptBuilder.AfterInitializeOverlay callback that can be used to configure the WindowControl that is used to display the prompt as an overlay.
  • Updated user prompts that are displayed as overlays to remain centered while the host is resized as long as the user has not manually moved or resized the prompt.
  • Updated WindowControl default style to stop changing the border brush when active, which also affects any user prompt shown as an overlay.
  • Updated WindowControl to hide the inner border when resize is not supported or when minimized.
  • Fixed an issue where UserPromptBuilder would not properly size a user prompt if the startup location was configured as CenterOwner and the owner could not be resolved.
  • Fixed an issue where MultiColumnPanel, at some high DPI settings, might not correctly arrange an item at the bottom of the tallest column and, instead, push it to the next column causing items in the last column to be arranged below the available panel height.
  • Fixed a rare exception that might be thrown from InfoBarPanel due to a negative calculated width of the center column.

Themes

  • Improved ImageProvider with an extension point for adapting unknown image formats.
  • Added a new .axaml Styles file that can be referenced by apps to stop Rider IDE from warning about unknown style classes that are defined in Actipro's dynamic themes.
  • Updated native control themes with changes in Avalonia through v11.3.11.
  • Updated the CheckBoxMenuIndicator and RadioButtonMenuIndicator control themes to no longer automatically apply, as they are deprecated in favor or built-in menu check state support in Avalonia.

Shared Library

  • Added a SVG vector image adaptation example to the Dynamic Image sample.
  • Added WindowTitleBar.CanConfigureWindowOffScreenMargin property to automatically bind the containing window's Padding to the OffScreenMargin. This is on by default to improve layout for maximized windows.
  • Updated KeyboardNavigationHelper logic to only support navigation to input elements with tab stops.
  • Updated XmlSerializerBase to support AOT trimming by providing a solution that does not use XmlSerializer.

All

  • Updated the minimum Avalonia UI dependency from v11.3.0 to v11.3.7.
  • In WASM, disabled animations on several controls in scenarios where Avalonia doesn't sequence animations properly.

About Avalonia UI Controls

Actipro Avalonia Free

Several products are freely available for anyone to use in their applications, providing a strong foundation for building high-quality applications. We fully support the Avalonia UI community by providing the following products at no cost:

  • Actipro Themes ensures that a great consistent visual appearance is applied to all controls within your application, regardless of whether they are Actipro Avalonia UI control products or native Avalonia UI controls.
  • The Actipro Shared Library is a common control library referenced by all our Actipro Avalonia UI controls. It contains several very useful controls, components, value converters, and utilities that can be used in your projects.
  • The Actipro Core Library is a class library that is completely UI framework agnostic. It contains numerous helpful utilities and base classes that can be used in your .NET projects.

Actipro Avalonia Pro

Elevate your application by licensing additional professionally designed commercial controls and getting access to the XAML source for all of our default control styles and themes.

  • Actipro Bars contains everything you need to implement advanced Office-like ribbon, toolbar, and menu functionality in your Avalonia applications.
  • Actipro Docking/MDI is a complete docking tool window and multiple document interface solution with powerful features found in popular IDE applications.
  • Actipro Fundamentals provides a collection of advanced controls that are useful for many different types of applications.

This is just the start. Much more is planned to be added to the Pro bundle in the future.


Actipro Software Support