Articles → WPF → Difference Between X:name And X:key In Wpf
Difference Between X:name And X:key In Wpf
| x:key | x:name |
|---|
| x:key is for uniquely identifying the resources in resource dictionary | x:name is for uniquely identifying UI elements |
| x:key cannot be accessed from code behind | x:name can be accessed from code behind |
| Posted By - | Karan Gupta |
| |
| Posted On - | Wednesday, May 18, 2022 |