Silverlight中Name和X:Name之间的区别 [英] Difference between Name and X:Name in silverlight

查看:96
本文介绍了Silverlight中Name和X:Name之间的区别的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

silverlight中的名称 X:名称有什么区别?

What is the Difference between Name and X:Name in silverlight? could u explain with small example?

推荐答案

看看这些讨论链接是否相同:
相似的讨论1 [ 类似的讨论2 [类似的讨论3 [ ^ ]

他们说:
两者之间基本上没有区别.名称是x:Name的简写,当名称不明确时,您才真正需要x:Name.
Have a look at these discussion links for the same:
Similar discussion 1[^]
Similar discussion 2[^]
Similar discussion 3[^]

They say:
There is basically no difference between the two. Name is a shorthand for x:Name and you only really need x:Name when Name is ambiguous.


请参阅此
Have a look at msdn documentation on this here[^]. Scroll down towards the end of the page and you will find it.


这篇关于Silverlight中Name和X:Name之间的区别的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆