<Grid x:Name="LayoutRoot" Background="White"> <Grid.RowDefinitions> <RowDefinition Height="200"/> <RowDefinition Height="*"/> </Grid.RowDefinitions> </Grid>
You need to add a horizontally oriented StackPanel
control into the second row. Which XAML fragment should you use?
a.<StackPanel Orientation="Horizontal" Row="1"></StackPanel>
b.<StackPanel Orientation="Horizontal" Grid.Row="1"></StackPanel>
c.<StackPanel Orientation="Horizontal" Grid.Row="2"></StackPanel>
d.<StackPanel Orientation="Vertical" Grid.Row="1"></StackPanel>
MediaElement
control that is able to handle an event when a media starts playing and when it fails. Which XAML fragment should you use?a.<MediaElement x:Name="MyMediaElement" MediaOpened="MyMediaElement_MediaOpened" MediaFailed="MyMediaElement_MediaFailed"/>
b.<MediaElement x:Name="MyMediaElement" MediaOpened="MyMediaElement_MediaOpened" MediaEnded="MyMediaElement_MediaEnded"/>
c.<MediaElement x:Name="MyMediaElement" MediaStarted="MyMediaElement_MediaStarted" MediaFailed="MyMediaElement_MediaFailed"/>
d.<MediaElement x:Name="MyMediaElement" MediaOpenedAndFailed="MyMediaElement_MediaOpenedAndFailed"/>
Grid
. You need to ensure that the Grid
control has four evenly spaced rows that will fill the height of Grid
. Which XAML fragment should you use?a.<Grid x:Name="LayoutRoot" Height="400" Width="400"> <Grid.RowDefinitions> <RowDefinition Height="1"/> <RowDefinition Height="1"/> <RowDefinition Height="1"/> <RowDefinition Height="1"/> </Grid.RowDefinitions> </Grid>
b.<Grid x:Name="LayoutRoot" Height="400" Width="400"> <Grid.RowDefinitions> <RowDefinition Height="0.25"/> <RowDefinition Height="0.25"/> <RowDefinition Height="0.25"/> <RowDefinition Height="0.75"/> </Grid.RowDefinitions> </Grid>
c.<Grid x:Name="LayoutRoot" Height="400" Width="400"> <Grid.RowDefinitions> <RowDefinition Height="0.25*"/> <RowDefinition Height="0.25*"/> <RowDefinition Height="0.25*"/> <RowDefinition Height="0.25*"/> </Grid.RowDefinitions> </Grid>
d.<Grid x:Name="LayoutRoot" Height="400" Width="400"> <Grid.RowDefinitions> <RowDefinition Height="100*"/> <RowDefinition Height="100*"/> <RowDefinition Height="*"/> <RowDefinition Height="*"/> </Grid.RowDefinitions> </Grid>
MainPage.xaml
file, you have a Frame
element named ContentFrame
and a URIMapper
element named ContentMapper
. You need to add a HyperlinkButton
control to the application, which navigates to your newly created ContactUs
page. Which XAML fragment should you use?a.<HyperlinkButton NavigateUri="/ContactUs" TargetName="ContentFrame" Content="Contact Us"/>
b.<HyperlinkButton NavigateUri="/ContactUs" TargetName="ContentMapper" Content="Contact Us"/>
c.<HyperlinkButton NavigateUri="/ContactUs" TargetName="_blank" Content="Contact Us"/>
d.<HyperlinkButton NavigateUri="/ContactUs.aspx" TargetName="ContentFrame" Content="Contact Us"/>
DataGrid
control. The DataGrid
control needs to be aware of when a user finishes editing a cell. Which XAML fragment should you use?a.<sdk:DataGrid x:Name="MyFirstGrid" AutoGenerateColumns="False" CellEditEnding="MyFirstGrid_CellEditEnding"></sdk:DataGrid>
b.<sdk:DataGrid x:Name="MyFirstGrid" AutoGenerateColumns="False"></sdk:DataGrid>
c.<sdk:DataGrid x:Name="MyFirstGrid" AutoGenerateColumns="False" CellEditEndingFinished="MyFirstGrid_CellEditEndingFinished"></sdk:DataGrid>
d.<sdk:DataGrid x:Name="MyFirstGrid" AutoGenerateColumns="False" CellEditEnded="MyFirstGrid_CellEditEnded"></sdk:DataGrid>
18.118.171.20