[quote quote=163296]It’s used to give the XML namespace a unique name:
I’ve got a Textbox, declared as:
x:Name="Welcome_Text" HorizontalAlignment="Left" Height="24" Margin="288,9,0,0" TextWrapping="Wrap" Text="Welcome!" VerticalAlignment="Top" Width="197"
When I’m in the Visual Studio Code debugger, I see a TON of attributes associated with this variable and just about all of them read “<Error retrieving property - InvalidOperationException>” as the value. I assumed that was because I hadn’t defined them in the above XAML, but when I found the “Text” attribute, my “Welcome!” was not there, but instead the same error. How can this be? When the form appears, it indeed displays the desired text and I’m able to change the value just fine.
What’s going on here?