How to Bind TextBlock to TextBox in UWP

Step 1: Drag a Button,TextBox and TextBlock from Toolbox on your grid in MainPage.xaml. 



Step 2: Double click on Button in MainPage.xaml,this will open MainPage.xaml.cs.



Step 3: Type this given code in MainPage.xaml.cs.

Step 4: Save All files(control+shift+S) And Run in Local Machine.

Step 5: Now Type any text in textBox and press Button.



Step 6: This will give you result in TextBlock.


That's it.

Ebook Download
View all
Learn
View all