What does x: stand for in x:key and x:name ? Why the colon and why not y:?

This is confusing to me. Why do we have to use x:Key= and x:Name= in place of key= and name=?

Where does this x come from?

Thanks!

Answers


The 'X' is an alias for an imported namespace (See the declaration of your XAML).

xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"

so when you type x, you use resources from that defined namespace. Actually, Name and Key are defined in the xaml namespace.


Need Your Help

Subversion (Svn) Propfind 405 error

svn apache zend-studio apache-config

I am brand new to subversion and have been told that this is the best thing since sliced bread. I have tried google and I am just drawing blanks on what is wrong and have tried multiple different

How does SIGINT relate to the other termination signals?

linux unix posix

On POSIX systems, termination signals usually have the following order (according to many MAN pages and the POSIX Spec):

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.