Avalonia Layout & Zafiro Styling
Streamlines Avalonia UI development by implementing modern layout patterns and semantic containers using the Zafiro toolkit.
This skill provides comprehensive guidance for building clean, maintainable, and scalable cross-platform desktop applications using Avalonia UI and the Zafiro.Avalonia extension library. It focuses on reducing XAML verbosity through semantic containers like EdgePanel and HeaderedContainer, optimizing theme organization, and implementing UI logic via behaviors instead of traditional converters or code-behind. It is ideal for developers looking to standardize their frontend architecture and ensure design consistency across complex Avalonia projects while following industry-standard clean-code principles.
주요 기능
01Standardizes theme organization using shared styles and DynamicResources for design consistency.
020 GitHub stars
03Promotes UI-logic best practices using Xaml.Interaction.Behaviors over IValueConverters.
04Enforces clean-code patterns by eliminating hardcoded literals and redundant XAML properties.
05Facilitates icon management via IconExtension and customizable IconOptions for scalable vector icons.
06Implements semantic containers like HeaderedContainer and EdgePanel to flatten UI nesting.
사용 사례
01Setting up a professional theme and design system for a cross-platform .NET desktop application.
02Implementing reusable UI components and behaviors to reduce boilerplate code in large XAML projects.
03Refactoring complex, deeply nested Avalonia Grid layouts into clean, semantic structures.