Actipro Avalonia UI Pro 23.1.2

Released: Dec 4, 2023

Updates in 23.1.2

Features

  • All
    • Improved support for trimming and Native AOT (Ahead-of-Time).
  • 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.
  • 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.

Fixes

  • Themes
    • 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.