I have the following XAML code:
<TextBlock x:Name="Coordinates" Text="{Binding Coors}"/>
How can I access this object from the codebehind? I'm trying to replace the hardcoded coordinates in Locaton, with the content of "Text":
private void DestinationButton_Click(object sender, RoutedEventArgs e)
{
Location loc= new Location (20.2127297,-87.4625591);
myMap.Center = loc;
myMap.ZoomLevel = 8;
}