Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to pass an object when navigating to a new view in PRISM?

As far as I know, currently PRISM allows to pass strings, but doesn't allow to pass objects. I would like to know what are the ways of overcoming this issue.

I want to pass a list collection. The UriQuery isn't usefull in my case, what should I do in this case?

like image 418
Darf Zon Avatar asked Jan 18 '23 11:01

Darf Zon


1 Answers

Prism 5 and 6 : The NavigationParameters class can now be used to pass object parameters during navigation, using the overloads of the RequestNavigate method of a Region or RegionManager instance.

like image 116
toumir Avatar answered Jan 31 '23 01:01

toumir