Add `RepositionThemeTransition` to sample pages for smoother layout updates
Description
This PR Updates ItemPage to add RepositionThemeTransition to content pages after navigation, main changes are:
- Hooked
contentFrame.Navigatedto detect when the new page is loaded. - Added logic to attach a
RepositionThemeTransitionto the root Panel.
Motivation and Context
Improves visual consistency.
How Has This Been Tested?
Manually verified across affected sample pages to ensure transitions apply correctly without breaking layout.
Screenshots (if appropriate):
Before
After
Types of changes
- [ ] Bug fix (non-breaking change which fixes an issue)
- [x] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to change)
/azp run
The PR description lacks the rationale behind why RepositionThemeTransition is added, which could confuse maintainers unfamiliar with it. Feel free to add more details along with the Before vs After Screenshot to give a visual sense of the improvement you're introducing.
The PR description lacks the rationale behind why RepositionThemeTransition is added, which could confuse maintainers unfamiliar with it. Feel free to add more details along with the Before vs After Screenshot to give a visual sense of the improvement you're introducing.
Done!
@marcelwgn Need your opinion on this
/azp run