Skip to content

Conversation

@michael-hawker
Copy link
Member

@michael-hawker michael-hawker commented Nov 19, 2025

See discussion for more details: #278

This is my modern Adorners implementation that I started a few years ago, originally here: https://github.com/michael-hawker/Labs-Windows/tree/llama/adorners/labs/Adorners

Since that was in a prior iteration of Labs, I've brought it over atop a new component template base, as well as merging in updates from XAML Studio where I've been using this a bit more already in practical scenarios.

Currently only works for UWP, debugging issue with Windows App SDK... (It used to work here I'm pretty sure, so not sure what's going on, more discussion on Discord: https://discord.com/channels/372137812037730304/672911467401445377/1440605732276801537) - Fixed, thanks @ahmed605!

TODO:

  • Handle Windows resizing positioning (most recent update to unblock this!)
  • Add some WPF migration notes
    • Add more once Adorner helper is in
  • Add Adorner base class/helper
  • Add some more examples (thought of a good example to try building as TODO)
  • Get working with Windows App SDK again

michael-hawker and others added 7 commits November 18, 2025 12:30
Original Branch: https://github.com/michael-hawker/Labs-Windows/tree/llama/adorners/labs/Adorners
(This was on an older interation of Labs infrastructure, so would make rebasing/updating branch difficult, easier to just start new component and copy over.)
Only changes were to modernize atop latest Toolkit packages instead of including copied helper code.
Have more updates to build atop this from XAML Studio after, plus some new updates to API surface, and docs for WPF comparisons.
…ass extension for FrameworkElementExtensions
Includes initial support for adorners to adjust to window/content resizing
Co-authored-by: Ahmed <[email protected]>
I had missed the warning from CsWinRT, big thanks to @ahmed605 for helping debug this issue in the Windows App Community Discord!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant