<!-- This template is used for Image Answers that shows up with other web algo results. 
     It binds to title, Children, and Extended:image properties.-->
<DataTemplate xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
              xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
              xmlns:tm="using:SearchUI.TemplateManager"
              x:Key="Multimedia.ImageAnswer_Landscape_8_1_RP">
    <Button Style="{CustomResource Resources.Shared.TopLevelButtonStyle}"
            Command="{Binding System_ConnectedSearch_ActivateCommand}">
        <Grid>
            <Grid.RowDefinitions>
                <RowDefinition Height="220" />
                <RowDefinition Height="Auto" />
            </Grid.RowDefinitions>

            <ContentControl Grid.Row="0"
                            DataContext="{Binding Extended:images.Extended:horizontal}"
                            Style="{CustomResource Resources.Shared.ImageCollage}" 
                            HorizontalAlignment="Left"
                            VerticalAlignment="Top" />

            <TextBlock MaxLines="2"
                       Grid.Row="1"
                       Style="{CustomResource Resources.Shared.SerpPrimaryTextStyle}"
                       tm:RichText.Text="{Binding Extended:text.Extended:title}"
                       AutomationProperties.AutomationId="Title" />
        </Grid>
    </Button>
</DataTemplate>