Repository navigation
fix: Allow Key property in XAML for KeyboardAccelerator (backport #22362) - #22404
Conversation
|
🤖 Your WebAssembly Skia Sample App stage site is ready! Visit it here: https://unowasmprstaging.z20.web.core.windows.net/pr-22404/wasm-skia-net9/index.html |
|
🤖 Your Docs stage site is ready! Visit it here: https://unodocsprstaging.z13.web.core.windows.net/pr-22404/docs/index.html |
|
|
e8f0bce to
0ba3d26
Compare
|
🤖 Your WebAssembly Skia Sample App stage site is ready! Visit it here: https://unowasmprstaging.z20.web.core.windows.net/pr-22404/wasm-skia-net9/index.html |
|
🤖 Your Docs stage site is ready! Visit it here: https://unodocsprstaging.z13.web.core.windows.net/pr-22404/docs/index.html |
|
|
The XAML source generator was incorrectly filtering out all properties named "Key", which was intended to exclude x:Key directive but also excluded legitimate properties like KeyboardAccelerator.Key. Changed the filter to only exclude Key when it has the XAML namespace (x:Key), allowing regular Key properties to be generated. Co-Authored-By: Claude Opus 4.5 <[email protected]> (cherry picked from commit 8f7d262)
0ba3d26 to
3ed77c6
Compare
|
🤖 Your WebAssembly Skia Sample App stage site is ready! Visit it here: https://unowasmprstaging.z20.web.core.windows.net/pr-22404/wasm-skia-net9/index.html |
|
🤖 Your Docs stage site is ready! Visit it here: https://unodocsprstaging.z13.web.core.windows.net/pr-22404/docs/index.html |
|
|
GitHub Issue: closes #22094
PR Type: 🐞 Bugfix
What is the current behavior? 🤔
The XAML source generator was incorrectly filtering out all properties named "Key", which was intended to exclude x:Key directive but also excluded legitimate properties like KeyboardAccelerator.Key.
Changed the filter to only exclude Key when it has the XAML namespace (x:Key), allowing regular Key properties to be generated.
What is the new behavior? 🚀
PR Checklist ✅
Please check if your PR fulfills the following requirements:
Screenshots Compare Test Runresults.Other information ℹ️
This is an automatic backport of pull request #22362 done by [Mergify](https://mergify.com).