feat: fill LearnAvalonia 32 projects (Avalonia 12 desktop mainline) - #18
Merged
Merged
Conversation
…prefix, HorizontalAlignment enum)
…float eq, string concat, redundant cast)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fill 32 of 35 LearnAvalonia projects as runnable Avalonia 12.1 desktop demo apps, one demo page per knowledge-point section in the matching AvaloniaStudy doc.
Scope
Architecture (方案 A: nav shell + 实验页)
Each project is an independent runnable Avalonia desktop app with a unified nav shell: left ListBox of knowledge points → right ContentControl showing the demo UserControl for the selected point. Per-project MainViewModel/TopicItem on CommunityToolkit.Mvvm 8.4.2. No cross-project shared library (matches LearnBlazor convention). CPM centralizes all package versions.
Per demo .axaml.cs carries a header comment block: Doc: (source section) / Title: / Stage: / Accept: (acceptance criterion) / Notes:.
Per-project demo counts
Verification
Avalonia 12.1 compliance
Per roadmap §1.4 + 附录 B: no \Avalonia.ReactiveUI\ 11.x, no \UseDirect2D1, no old FileDialog (use \IStorageProvider), compiled bindings default on (\x:DataType), clipboard async \IAsyncDataTransfer, \TrayIcon+\\NativeMenu\, \SystemDecorations\\→\\WindowDecorations\, \WindowState\\ DirectProperty. DataGrid marked deprecated; TableView core; TreeDataGrid noted as Pro/commercial.
Design & plan
All work in worktree .worktree/learnavalonia-fill\ on branch \learnavalonia-fill\ per user instruction.