Avalonia Zafiro Layout Expert
Streamlines Avalonia UI development using Zafiro patterns to create clean, maintainable, and semantic layouts with minimal XAML redundancy.
This skill provides comprehensive guidance for mastering modern Avalonia UI layouts by leveraging the Zafiro.Avalonia framework. It emphasizes the use of semantic containers like HeaderedContainer and EdgePanel, promotes shared styling to reduce XAML bloat, and encourages the use of behaviors and icon extensions to keep code-behind clean. It is particularly useful for developers building cross-platform C# applications who want to implement professional design systems while avoiding common anti-patterns like deep nesting, hardcoded literals, or excessive use of ValueConverters.
主な機能
01Implementation of semantic containers such as HeaderedContainer, EdgePanel, and Card
02Icon management and customization via IconExtension and IconOptions
03Layout flattening techniques to minimize complex Grid and StackPanel nesting
04Behavior-driven UI logic using Xaml.Interaction to replace repetitive Converters
05Standardized theme organization and shared style management for axaml files
063 GitHub stars
ユースケース
01Implementing consistent iconography and semantic container patterns in a Zafiro-based project
02Refactoring complex, deeply nested XAML layouts into flattened, manageable structures
03Standardizing UI themes and shared styles across a multi-view Avalonia application