Avalonia Controls v23.1.2 Maintenance Release

Announcements Forum

Posted 4 months ago by Actipro Software Support - Cleveland, OH, USA
Avatar

A new Avalonia UI Controls maintenance release is now available.

Detailed Update List

Themes

  • Added the ThemeProperties.SpinnerHasHorizontalOrientation attached property that can arrange ButtonSpinner and NumericUpDown buttons horizontally, making them more touch-friendly.
  • Added the ThemeDefinition.SpinnerHasHorizontalOrientation property that provides a global default for the ThemeProperties.SpinnerHasHorizontalOrientation attached property.
  • Fixed an issue where the new density-related markup extensions added in the previous build weren't parsing numbers with invariant culture, which had led to excessive padding on some systems.
  • Fixed an issue where a menu item's sub-menu could close when the pointer was over the popup's shadow.

Shared Library

  • Added various members to the UIColor structure to support the OKLAB and OKLCH color models.
  • Added the UIColor.ToChromaticAdaptation method that updates the color to render clearly on a given background.
  • Added the UIColor.ToGrayscale method that updates the color to a grayscale value.
  • Added the Color.ToUIColor extension method that converts a Color to a UIColor.
  • Added the IOrientedElement interface and numerous extension methods.
  • Added the ShadowChrome.Background and Padding properties.
  • Updated ArrayExtension and DelimitedArrayExtension to return generic object arrays for AOT compatibility instead of type-specific arrays. The ArrayExtension.Type property has been deprecated and will be removed in a future release.

All

  • Improved support for trimming and Native AOT (Ahead-of-Time).


Actipro Software Support