Ugrás a tartalomhoz

.NET Programming Technologies

Gergely Kovásznai, Csaba Biró

Eszterházy Károly College

XAML namespaces

XAML namespaces

The previous examples shows that the Page and the Window root elements – in any case – define two namespaces:



  1. The default WPF namespace including the WPF classes (controls) need for building of the user interface.

  2. XAML –namespace. It includes general definitions necessary for the interpretation of the XAML documents. It is interesting that the namespace with a prefix x has a wider view.

The role of the xmlns – a special attribute – is to give a local name (pseudonym) to the URI (Uniform Resource Locator) form namespace.