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
Post a Comment