From the course: Microsoft XAML: 1 Core Concepts

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Predefined namespaces

Predefined namespaces

From the course: Microsoft XAML: 1 Core Concepts

Start my 1-month free trial

Predefined namespaces

- [Narrator] There is a feature in xaml namespaces that lets a developer predefine a URI that maps a .net or WinRT namespace to a xaml namespace. We've seen this. That's how this default namespace in xaml works. Microsoft mapped this URI to a bunch of .net namespaces spread across multiple .net assemblies. Because they did that, now I can easily use the grid the textbox and the ellipse and other elements in my xaml file. The system for doing this mapping is available for any developer. This is useful for some teams. For example, imagine you work for a control vendor like Infragistics, DevExpress, or Telerik. It would be convenient for you to use this mapping feature for your control libraries. That would make it easy to access the controls in a xaml file. That's what I'll show you in this video, how to do that mapping. Let's review what I have in this solution. I have three projects. This is my main project, the Wpf application, and I'll be using this Window1.xaml file. Then I have…

Contents