What is the parent xaml tag of Silverlight page?

 Posted by Raja on 6/6/2009 | Category: Silverlight Interview questions | Views: 5773
Answer:

UserControl is the parent xaml tag of the Silverlight page. All other tags are placed under UserControl tag.

<UserControl x:Class="SilverlightApplication2.MainPage"

xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Width="400" Height="300">
<Grid x:Name="LayoutRoot" Background="White">

</Grid>
</UserControl>


Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response