0

What is the difference between these 2 lines? Visually I haven't noticed anything different. Sorry I am just getting started with Silverlight.

<Button Content="Click me" Name="myButton" FontSize="18" Width="150" Height="45" />

and

<Button Content="Click me" x:Name="myButton" FontSize="18" Width="150" Height="45" />
Sahat Yalkabov
  • 30,918
  • 41
  • 108
  • 172
  • 1
    See my answer here:- http://stackoverflow.com/questions/3379230/is-there-any-difference-in-xname-and-name-for-controls-in-xaml-file/3383442#3383442 – AnthonyWJones Aug 15 '10 at 13:50

1 Answers1

1

Nothing (see the remarks in particular).

Kent Boogaart
  • 170,894
  • 35
  • 387
  • 389