Adds GetReactRootView method to XamlUIService
Description
Type of Change
Erase all that don't apply.
- New feature (non-breaking change which adds functionality)
What
We emulate this behavior in our app, it's probably better to expose the core functionality to walk the shadow node tree (rather than using VisualTreeHelpers).
Microsoft Reviewers: Open in CodeFlow
Hello @asklar!
Because this pull request has the AutoMerge label, I will be glad to assist with helping to merge this pull request once all check-in policies pass.
p.s. you can customize the way I help with merging this pull request, such as holding this pull request until a specific person approves. Simply @mention me (@msftbot) and give me an instruction to get started! Learn more here.
Switched to draft because I haven't tested the ReactRootView change yet. Will mark ready for review once I confirm it's working.
@asklar - confirmed working :), ready for merge.
FWIW I had part of this in #9658 where I also try to move the actual storage to an attached property.
@rozele Also FYI #10485
@asklar and @jonthysell - I removed the GetReactTag API, this should be good to go now.