How is mapping done between CLR namespaces and XAML namespaces?

 Posted by Ddd on 3/2/2011 | Category: WPF Interview questions | Views: 3042 | Points: 40
Answer:

Consider this XAML declaration

<Window x:Class="WpfApplication14jan.Window1"

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

xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="Window1" Height="300" Width="300">

</Window>


The attribute xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" is
responsible for the mapping. Without this, no XAML user interface can be created
or code executed.


Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response