c# - Is it possible to send 2 parameters to a new page in wpf -


i have created small paginated app in c#/wpf/xaml. trying send variable data page 1 page 2 on occasions need send more 1 object/type/piece of data.
in circumstances sending entire dictionary across , in others need send entire dictionary , textbox.text entry across (which user has entered cant use constant)

is there easy way this? ending across dictionary using:

frame.navigate(typeof(page2), mycustomdictionary));  

and receiving on page 2 using

//mydictionary defined globally page  mydictionary= (dictionary<string, mycustomtype>)e.parameter; 

the sending , receiving of works fine, need send textbox.text along too...how can this?


Comments

Popular posts from this blog

c++ - Difference between pre and post decrement in recursive function argument -

php - Nothing but 'run(); ' when browsing to my local project, how do I fix this? -

php - How can I echo out this array? -