PopupV2 name in ShellNavigatedEventArgs object #2737
-
In my Shell app I keep track of navigation points: source and destination. I basically subscribed to the Navigated event in the Shell:
Then I read and do something with the ShellNavigatedEventArgs event argument properties: So far so good and I always had location names that are predictable - based on how route is named in the xaml declaration or how route is registered with Routing service ( for instance Then I have a popup
Then I call the popup:
It does trigger the actual shell navigation and the names I keep seeing are somehow auto generated. like these:
You get the idea. It creates a new unique name each time I call that popup. Is there any way to control the name of the popup in Shell navigation Location object? I really was hoping to get a predictable name and not guess solely based on if the "popup" is contained in the full location name. Any help or directions are greatly appreciated! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 7 replies
-
At present this is not controllable as you can see by the code here: |
Beta Was this translation helpful? Give feedback.
-
@bijington do you think that #2767 , at least partially, addresses the issue I raised here? |
Beta Was this translation helpful? Give feedback.
At present this is not controllable as you can see by the code here:
Maui/src/CommunityToolkit.Maui/Extensions/PopupExtensions.shared.cs
Line 172 in 2217d08