Repository navigation
fix: Make Hyperlink.UnderlineStyleProperty public for WinUI API parity - #23653
Merged
MartinZikmund merged 2 commits intoJul 6, 2026
Merged
Conversation
Copilot
AI
changed the title
[WIP] Fix Hyperlink.UnderlineStyleProperty accessibility
fix: Make Hyperlink.UnderlineStyleProperty public for WinUI API parity
Jul 6, 2026
MartinZikmund
approved these changes
Jul 6, 2026
MartinZikmund
marked this pull request as ready for review
July 6, 2026 09:52
MartinZikmund
enabled auto-merge
July 6, 2026 09:52
Contributor
There was a problem hiding this comment.
Pull request overview
This PR restores WinUI API parity by making Hyperlink.UnderlineStyleProperty publicly accessible, enabling external assemblies to use DP-based APIs (e.g., ClearValue, bindings, styles, and animations) that were previously blocked by the internal modifier.
Changes:
- Changed
Hyperlink.UnderlineStylePropertyfrominternaltopublic.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Contributor
|
🤖 Your WebAssembly Skia Sample App stage site is ready! Visit it here: https://unowasmprstaging.z20.web.core.windows.net/pr-23653/wasm-skia-net9/index.html |
Xiaoy312
approved these changes
Jul 6, 2026
3 of 5 tasks
1 of 11 tasks
pull Bot
pushed a commit
to AKJUS/uno
that referenced
this pull request
Sep 2, 2026
Five members were declared narrower than the WinUI reference surface, the same class of defect as unoplatform#23653 (Hyperlink.UnderlineStyleProperty), silently blocking external use despite the type being public: - ItemsRepeaterScrollHost.HorizontalAnchorRatio (internal -> public) - ItemsRepeaterScrollHost.VerticalAnchorRatio (internal -> public) - RepeatedScrollSnapPoint.Start (private -> public) - RepeatedScrollSnapPoint.End (private -> public) - ItemsSourceView.IndexOf(object) (internal -> public) Each was confirmed against the WinAppSDK 2.1 reference assembly and the WinUI IDL. Widening accessibility is additive and non-breaking. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_011xvpioeKGiCR8NnouBZHwY
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Hyperlink.UnderlineStylePropertywas declaredinternal, blocking all DP-based usage from external assemblies (ClearValue,SetBinding, styles, animations) despite the CLR wrapper property beingpublic.What changed? 🚀
Hyperlink.UnderlineStylePropertyfrominternaltopublicinsrc/Uno.UI/UI/Xaml/Documents/Hyperlink.csto match the WinUI API surface.Before this fix, any external code referencing the DP identifier failed to compile:
PR Checklist ✅
Screenshots Compare Test Runresults.