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