name : News.Home_Snap_8_1_RP-20481197.xaml
<!-- Template to render News answer.  This is the "home page" for the News answer. -->
<DataTemplate xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
              xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
              xmlns:tm="using:SearchUI.TemplateManager"
              xmlns:sc="using:SearchUI.Controls"
              x:Key="News.Home_Snap_8_1_RP">
    <Grid Style="{CustomResource Resources.Shared.TopLevelDataTemplateRootStyle}">
        <Grid.Resources>

            <DataTemplate x:Key="Local.News.AttributionAndTimestamp">
                <Grid>
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition Width="*" />
                        <ColumnDefinition Width="Auto" />
                        <ColumnDefinition Width="Auto" />
                    </Grid.ColumnDefinitions>
                    <TextBlock Style="{CustomResource Resources.Shared.LinkTextStyle}"
                               tm:RichText.Text="{Binding Extended:attribution.System_Search_Contents}"
                               AutomationProperties.AutomationId="Attribution" />
                    <TextBlock Style="{CustomResource Resources.Shared.SerpSecondaryTextStyle}"
                               Grid.Column="1"
                               FontFamily="Segoe UI Symbol"
                               Text="&#xB7;"
                               Margin="2, 0" />
                    <TextBlock Style="{CustomResource Resources.Shared.SerpSecondaryTextStyle}"
                               Grid.Column="2"
                               tm:RichText.Text="{Binding Extended:timestamp.System_Search_Contents}"
                               AutomationProperties.AutomationId="Timestamp" />
                </Grid>
            </DataTemplate>
        </Grid.Resources>
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto" />
            <RowDefinition Height="Auto" />
            <RowDefinition Height="Auto" />
            <RowDefinition Height="Auto" />
            <RowDefinition Height="*" />

        </Grid.RowDefinitions>

        <TextBlock Style="{CustomResource Resources.Shared.SerpPrimaryTextStyle}"
                   tm:RichText.Text="{Binding System_ItemNameDisplay}"
                   MaxLines="1"
                   AutomationProperties.AutomationId="Title" />

        <ContentControl Grid.Row="1"
                        Margin="0, 14, 0, 8"
                        Content="{Binding}"
                        DataContext="{Binding Extended:appButton}"
                        ContentTemplateSelector="{CustomResource GenericDataTemplateSelector}" />

        <Grid Grid.Row="2">
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="Auto" />
                <ColumnDefinition Width="*" />
            </Grid.ColumnDefinitions>
            <sc:ResultContentControl Grid.Column="0"
                                     Width="115"
                                     Height="80"
                                     Tag="UniformToFill"
                                     Content="{Binding}"
                                     DataContext="{Binding Extended:firstarticle.Extended:relevantImage}" />            
            <TextBlock Grid.Column="1"
                       Style="{CustomResource Resources.Shared.PrimaryNormalTextStyle}"
                       MaxLines="4"
                       Margin="10, 6, 0, 0"
                       tm:RichText.Text="{Binding Extended:firstarticle.Extended:headline.System_Search_Contents}"
                       AutomationProperties.AutomationId="Headline" />
        </Grid>

        <ContentControl Grid.Row="3"
                        Margin="0, 6, 0, 0"
                        ContentTemplate="{StaticResource Local.News.AttributionAndTimestamp}"
                        DataContext="{Binding Extended:firstarticle}" />

        <TextBlock Grid.Row="4"
                   Style="{CustomResource Resources.Shared.PrimaryNormalTextStyle}"
                   MaxLines="3"
                   tm:RichText.Text="{Binding Extended:firstarticle.Extended:snippet.System_Search_Contents}"
                   AutomationProperties.AutomationId="Snippet" />
    </Grid>
</DataTemplate>

© 2026 UnknownSec