I am trying to dynamically add the number of text boxes, the number of text boxes to the user working this code Has been, but adding items to be present.
Navigation service Navigate (Navi Uri ("/ Page1.xaml Should Download = True", Urikhind.Relative)); // integer number on new page; Int.TryParse (textBox1.Text, number out); // to change the text box to int (int i = 1; i But I want to add these items to a new page (i.e.: Page 1) not here.
Help will be deployed.
Try passing it on your second page through navigation parameters
string num = textbox1.Text; Navigation Service Navigate (new URI ("/ Page1.xaml? Should download = true & number =" + num, UriKind.Relative)); // Naviagte on new page In your page, parse the result within the nanigated method
to protect override zero-on navigation (Navigation Event E. ) {Base. OnNavigatedTo (e); String numValue; If (Navigation Contact QuitterTrag.triget value ("num", numValue out)) {int num = Convert.ToInt32 (numValue); // here 'add'}}
No comments:
Post a Comment