在 Silverlight XAML 中,我可以为控件命名如下:
<Button Name="MyButton" />
或者像这样:
<Button x:Name="MyButton" />
那么,有什么区别呢?
最佳答案
关于silverlight - Name 和 x :Name? 有什么区别,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/7118821/
标签 silverlight xaml
在 Silverlight XAML 中,我可以为控件命名如下:
<Button Name="MyButton" />
<Button x:Name="MyButton" />
最佳答案
关于silverlight - Name 和 x :Name? 有什么区别,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/7118821/