3,034 questions
Hello,
Welcome to Microsoft Q&A!
The x:Name uniquely identifies object elements for access to the instantiated object from code-behind or general code. So if you want to get or set the text of TextBlock in code-behind, just using the specified x:Name which holds a reference to the TextBlock. For example:
.cs:
string txtTitle = PageTitle.Text; //get Text
PageTitle.Text = "Hello World"; //set Text