Skip to content

Replace WPF sample with Avalonia sample in README#22

Merged
Tyrrrz merged 2 commits intomasterfrom
copilot/edit-readme-avaloina-sample
Feb 22, 2026
Merged

Replace WPF sample with Avalonia sample in README#22
Tyrrrz merged 2 commits intomasterfrom
copilot/edit-readme-avaloina-sample

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Feb 22, 2026

The README's ProgressContainer usage example referenced WPF-specific XAML, while the demo project already uses Avalonia.

Changes

  • Readme.md — Updated the ProgressContainer code sample:
    • Intro text: "WPF application" → "Avalonia application"
    • XAML namespace: http://schemas.microsoft.com/winfx/2006/xaml/presentationhttps://github.com/avaloniaui
    • Removed WPF design-time namespace (xmlns:d) and d:DataContext attribute
    • Added x:DataType="MainViewModel" for Avalonia compiled bindings
<Window
    x:Class="MainWindow"
    xmlns="https://github.com/avaloniaui"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    x:DataType="MainViewModel">
    ...
</Window>
Original prompt

Edit the readme by replacing the WPF sample with an Avalonia sample


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Co-authored-by: Tyrrrz <1935960+Tyrrrz@users.noreply.github.com>
Copilot AI changed the title [WIP] Edit README to replace WPF sample with Avalonia sample Replace WPF sample with Avalonia sample in README Feb 22, 2026
Copilot AI requested a review from Tyrrrz February 22, 2026 09:35
@Tyrrrz Tyrrrz added the enhancement New feature or request label Feb 22, 2026
@Tyrrrz Tyrrrz marked this pull request as ready for review February 22, 2026 09:55
Copilot AI review requested due to automatic review settings February 22, 2026 09:55
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the README documentation to replace a WPF-based XAML example with an Avalonia-based example, aligning the documentation with the actual demo project which uses Avalonia UI framework.

Changes:

  • Updated descriptive text to reference "Avalonia application" instead of "WPF application"
  • Replaced WPF XAML namespace with Avalonia namespace (https://github.com/avaloniaui)
  • Removed WPF design-time attributes and replaced with Avalonia's x:DataType for compiled bindings support

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@codecov
Copy link
Copy Markdown

codecov Bot commented Feb 22, 2026

Welcome to Codecov 🎉

Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests.

Thanks for integrating Codecov - We've got you covered ☂️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants