Skip to main content
net6.0

Panel implementing CSS-like flexbox for Avalonia.

Published
Nov 8, 2023
2y ago
Total Downloads
2.1K
2,126

Deprecated Package Version

Reason: Other, Legacy

Was merged into official Avalonia.Labs.

Suggested alternative:Avalonia.Labs.Panels*

Install

dotnet add package Alba.Avalonia.FlexPanel --version 0.5.0-alpha.1
ProductVersions
.NET
net6.0

README

Alba.Avalonia.FlexPanel

Panel implementing CSS-like flexbox for Avalonia 11.

Features

Flexbox features:

  • direction: row, column, row reverse, column reverse
  • flex-wrap: nowrap, wrap, wrap-reverse
  • align-items, align-self: flex-start, flex-end, center, stretch
  • align-content, justify-content: flex-start, flex-end, center, space-between, space-around, space-evenly
  • flex-grow, flex-shrink, flex-basis, order
  • row-gap, column-gap

Alternatives

  • jp2masa/Avalonia.Flexbox (alternative implementation):

    • Advantages:
      • Supports: FlexLayout for ItemsRepeater
    • Disadvantages:
      • Doesn't support: flex-grow, flex-shrink, flex-basis
  • dotNevereverlie/Avalonia.FlexPanel (alternative port):

    • Disadvantages:
      • Doesn't support: Avalonia 11, space-evenly
      • Severe bugs

Acknowledgements

Based on:

Adoption Assessment

Assess this package against its supported frameworks, license, maintenance signals and dependency graph before making it a project standard.

This version is marked prerelease. Validate its API and upgrade path before production use.NuGet marks this package as deprecated and points to Avalonia.Labs.Panels as an alternative.Compatibility metadata lists 1 target framework; confirm the exact target used by your application.

Related Guides & Workflows

Learn how to evaluate, integrate, or audit this package in your .NET project.