Avalonia Zafiro Layout Expert
Optimizes Avalonia UI layouts using the Zafiro framework to create clean, maintainable, and semantic cross-platform interfaces.
This skill provides comprehensive guidance for building modern Avalonia UI applications leveraging the Zafiro.Avalonia library. It helps developers move away from cluttered XAML by emphasizing semantic containers like HeaderedContainer and EdgePanel, implementing shared styling strategies, and utilizing XAML behaviors over code-behind. By following these patterns, developers can reduce layout nesting, eliminate redundant property definitions, and ensure a consistent design system across their entire application while following the best practices found in high-quality projects like Angor.
Key Features
01Interaction logic implementation using Xaml.Interaction.Behaviors
02Optimization techniques to reduce XAML nesting and eliminate redundancy
03Shared theme organization and centralized style management
04Simplified icon integration via IconExtension and IconOptions
05Semantic container implementation using HeaderedContainer and EdgePanel
063 GitHub stars
Use Cases
01Implementing a consistent design system with shared styles and dynamic resources
02Modernizing legacy Avalonia XAML layouts for better maintainability and performance
03Streamlining UI logic by replacing complex Converters with ViewModel properties and Behaviors