I have this text inside a XAML that I want to change from "123ABC" to "456DEF".
<TextBlock x:Name="driverStatusValue" HorizontalAlignment="Left" Margin="205,45,0,0" Grid.RowSpan="2" TextWrapping="Wrap" Text="123ABC" VerticalAlignment="Top" Foreground="#FFA4C400"/>
I have this function that shows a messagebox, I also want this function to change the x:Name="driverStatusValue" to change. How? I can't find anything that could help me with this in the Windows Phone API documentation.
private void drive_click(object sender, EventArgs e)
{
MessageBox.Show("Text changed!");
}