Herbalist Gash

Herbalist Gash

  • NA
  • 4
  • 2.9k

How to add textbox text to a split page in windows apps

Jul 5 2015 7:19 AM
Hi, im new to developing windows store apps and im stuck in my app. Ive used a blank page where i have textboxes for a title, subtitle and for a description. Ive added a split page in my app and what i want to do is to be able to get the textbox text from the blank page and add it to the split page where it will be displayed with the details after clicking a button.
 
 Ive checked out how to dynamically add items to a grid view but i want the items to be in the split page format where you click an item on the left side and the description comes to the right side.
Also saw in the splitpage.xaml.cs some TO DO parts where am supposed to bind data and handle selected items i.e
 
// TODO: Assign a bindable group to this.DefaultViewModel["Group"]
// TODO: Assign a collection of bindable items to this.DefaultViewModel["Items"] 
// TODO: Invoke this.itemsViewSource.View.MoveCurrentTo() with the selected
// item as specified by the value of pageState["SelectedItem"] 
// TODO: Derive a serializable navigation parameter and assign it to pageState["SelectedItem"] 
 
My question is how do i do that or atleast how to add the textbox data to the split page? Any help would be appreciated. Thanks

Answers (2)