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
  • 32,654
  • 43
  • 110
  • 175
  • 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
  • 175,602
  • 35
  • 392
  • 393