Navigation Error : ArgumentException: Region with the given name is already registered: ContentRegion #3070
Answered
by
brianlagunas
danielnoh0514
asked this question in
WPF
-
Beta Was this translation helpful? Give feedback.
Answered by
brianlagunas
Feb 13, 2024
Replies: 1 comment 2 replies
-
Hard to say without a reproduction app, this this error is telling that you have the a region with the same name of ContentRegion created twice in your app. Double check your region names and app structure. Also, you don't need to register your ReservationListingView for navigation, because it's your shell. You only register things for navigation if they will be participating in region navigation. |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
danielnoh0514
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hard to say without a reproduction app, this this error is telling that you have the a region with the same name of ContentRegion created twice in your app. Double check your region names and app structure. Also, you don't need to register your ReservationListingView for navigation, because it's your shell. You only register things for navigation if they will be participating in region navigation.