In WPF, what are the differences between the x:Name and Name attributes?

前端 未结 15 1291
闹比i
闹比i 2020-11-22 05:19

The title says it all. Sometimes it seems that the Name and x:Name attributes are interchangeable.

So, what are the definitive differences

15条回答
  •  粉色の甜心
    2020-11-22 06:07

    One of the answers is that x:name is to be used inside different program languages such as c# and name is to be used for the framework. Honestly that is what it sounds like to me.

提交回复
热议问题