In Silverlight XAML, I can give a control a name like this:
<Button Name="MyButton" />
or like this:
<Button x:Name="MyButton" />
So, what's the difference?
In Silverlight XAML, I can give a control a name like this:
<Button Name="MyButton" />
or like this:
<Button x:Name="MyButton" />
So, what's the difference?
Take a look to Is there any difference in x:name and name for controls in xaml file? post.
Here is an answer, as posted in response to the same question (asked in relation to WPF).