This is not a bug, it is a question or issue
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 9.6k
- Forks
- 1k
- PR merge metrics
- No merged PRs in 30d
Description
Describe the bug
Navigationview always recycling pages! This will create a new page instance when navigating to a new page, and the old page instance will not be saved. I don't want this, I hope my page instance can be saved during the switching process. How can I do it?
To Reproduce
navigationview
Expected behavior
I hope my page instance can be saved during the switching process.
Screenshots
OS version
win11 24h2
.NET version
4.8
WPF-UI NuGet version
3.0.5
Additional context
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the NavigationView implementation and its navigation/page lifecycle behavior; the issue names no file or test. Compare the current page-recycling behavior with the requested preservation of page instances, and define a reproducible navigation check for the expected result.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- desktop
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100