C# Avalonia Notes Showcase Example

flagship XAML host with AggregateVM6, FormVM, paging, dialogs, theme, and notifications

C# Avalonia Notes Showcase Example flagship XAML host with AggregateVM6, FormVM, paging, dialogs, theme, and notifications C# Avalonia Notes Showcase Example flagship XAML host with AggregateVM6, FormVM, paging, dialogs, theme, and notifications Host and adapter boundary VMx-owned application state Verification and modeling rule Avalonia views AXAML-only screens AvaloniaXamlLoader.Load code-behind cross-platform desktop Avalonia adapters BindableVm / Derived collection + command bridges dispatcher + dialogs User gestures events become VM calls no domain state in host render from VM snapshots Run surface local example command smoke-friendly path documented README entry WorkspaceVM AggregateVM6 shell async construct theme sibling Notebook + note VMs tree projection paged notes list strict NoteFormVM Workflow services dialogs notifications global token search Repository + models in-memory notes seed notebooks theme model Pure-VM tests dotnet test adapter tests code-behind checker Best-fit use Use this as the C# reference for full VMx desktop composition with thin Avalonia views. Reading rule Follow arrows top to bottom: host input becomes VMx commands; VMx state publishes renderable projections back to the host. binds routes runs owns projects executes loads children commands data tests boundary

Full surface

  • Exercises the 19-row Notes Workspace contract.
  • Uses specialized VMs where they reduce host glue.

Adapter seam

  • Avalonia specifics live in Views/Adapter.
  • VMs remain host-independent.

Parity role

  • Matches Python Textual, TypeScript React, and SwiftUI flagship behavior.