xaml-csharp-development-skill-for-avalonia

WinUI to Avalonia API Coverage Manifest (Controls, Layout, Styling, Platform)

Table of Contents

  1. Purpose
  2. Coverage Contract
  3. WinUI Source Coverage Pointers
  4. WinUI Online API Documentation Pointers
  5. Avalonia API Coverage Path
  6. Validation Workflow
  7. How to Use This Manifest

Purpose

This manifest defines how WinUI migration references map to exact API lookup surfaces.

Use it to move from recipe-level guidance to concrete source and API signatures.

Coverage Contract

Practical completeness is provided by combining:

  1. WinUI migration topic docs (00-66) in this lane,
  2. per-control docs in ../controls/README.md,
  3. generated signatures in ../api-index-generated.md.

WinUI Source Coverage Pointers

Use these source roots for WinUI-side verification:

WinUI Online API Documentation Pointers

Use official WinUI/Windows App SDK docs for API verification:

Avalonia API Coverage Path

Primary lookup references:

Useful signature queries:

rg -n "AvaloniaProperty|StyledProperty|DirectProperty|RegisterAttached" references/api-index-generated.md
rg -n "TabControl|TreeView|SplitView|ItemsControl|AutoCompleteBox" references/api-index-generated.md
rg -n "ControlTheme|DataTemplate|ControlTemplate|TemplateBinding" references/api-index-generated.md
rg -n "Dispatcher|DispatcherTimer|KeyBinding|KeyGesture" references/api-index-generated.md
rg -n "DataValidationErrors|AutomationProperties|FlowDirection" references/api-index-generated.md
rg -n "StorageProvider|FilePickerOpenOptions|Launcher|IActivatableLifetime" references/api-index-generated.md
rg -n "NativeMenu|NativeMenuBar|TrayIcon|WindowNotificationManager" references/api-index-generated.md
rg -n "TextInputOptions|RefreshContainer|PullGestureRecognizer|ScrollViewer|VirtualizingStackPanel" references/api-index-generated.md
rg -n "StyledProperty|DirectProperty|AttachedProperty|BindingPriority|SetCurrentValue|GetBaseValue" references/api-index-generated.md
rg -n "GetVisualParent|GetVisualChildren|GetLogicalParent|GetLogicalChildren|NameScope|TemplatedParent" references/api-index-generated.md
rg -n "ControlTheme|Style|Selector|PseudoClasses|ThemeVariant|ThemeDictionaries" references/api-index-generated.md

Validation Workflow

Run after significant migration-reference updates:

python3 scripts/find_uncovered_apis.py --output plan/api-coverage-not-covered.md
python3 -m unittest scripts.test_find_uncovered_apis

How to Use This Manifest

  1. choose the migration topic doc (00-66),
  2. confirm concrete WinUI and Avalonia APIs in source/docs,
  3. validate against pinned Avalonia 11.3.12 behavior before adopting patterns.