Avalonia UI Layout with Zafiro

•
6
•

Optimizes Avalonia UI development by implementing Zafiro-based semantic containers, shared styles, and efficient XAML patterns.

This skill provides specialized guidance for building maintainable and clean Avalonia UI layouts using the Zafiro.Avalonia framework. It streamlines the creation of modern user interfaces by enforcing the use of semantic containers like EdgePanel and HeaderedContainer, promoting the use of shared styles to reduce redundancy, and minimizing complex XAML nesting. It is an essential tool for developers looking to eliminate anti-patterns like hardcoded literals or excessive value converters, replacing them with Interaction Behaviors and ViewModel-driven logic for scalable, production-grade desktop application design.

주요 기능

01Streamlines icon management using the specialized IconExtension and IconOptions.
02Reduces XAML redundancy through centralized theme organization and shared styles.
03Enforces clean layout checklists to ensure UI consistency and performance.
04Implements semantic containers like HeaderedContainer and EdgePanel to flatten layouts.
056 GitHub stars
06Replaces complex code-behind and converters with Xaml.Interaction.Behaviors.

사용 사례

01Refactoring legacy Avalonia layouts into modern, flat, and maintainable structures.
02Developing high-performance cross-platform UIs by leveraging Zafiro's pre-built layout patterns.
03Implementing consistent UI themes and shared styles across complex multi-view desktop applications.