chore: ITemplatedParentProvider removal (backport #18443) #18457
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.
GitHub Issue (If applicable): n/a
PR Type
What kind of change does this PR introduce?
What is the new behavior?
follow-up of #17645
removing ITemplatedParentProvider and relevant codegen in DOGenerator, replaced with direct implementations in DOStore.
add a few more tests against regressions found in the tp rework.
ninja-fix: native Frame not being initialized.
PR Checklist
Please check if your PR fulfills the following requirements:
Screenshots Compare Test Run
results.Other information
With changes from this PR and #17645, there are a few notable changes to the templated-parent system:
DO::TemplatedParent
dependency property,::OnTemplatedParentChanged(e)
, andDOStore.SetTemplatedParent(FrameworkElement)
are fully deprecated. They are no longer called by the Uno framework, and should not be used anymore. They are, however, still temporarily kept in v5.5.0 to avoid binary changes until next major version.OnTemplatedParentChanged
, should be replaced byOnLoaded()
(within uno.ui assembly) orFE.Loaded += ...
(outside uno).This is an automatic backport of pull request chore: ITemplatedParentProvider removal #18443 done by Mergify.