WHAT IS THE DIFFERENCE BETWEEN X:NAME AND X:KEY?

Sumit Kesarwani

Total Post:782

Points:3910
Posted by  Sumit Kesarwani
WPF 
WPF
 3276  View(s)
Ratings:
Rate this:
  1. Sumit Kesarwani

    Post:782

    Points:3910
    What is the difference between X:name and x:key?

    X:name idetifies a UIElment in XAML Tree

    X:Key identifies objects in resources section, can be accessed by resourceDictionary

Answer

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!