name : Ads.Small_Generic_8_1_RP-d5a06819.xaml
<!-- The data template for a small Ads answer -->
<!-- This is used for displaying small stacked first page ads, snap mode first page ads, and other page ads -->
<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="Ads.Small_Generic_8_1_RP">
    <Grid Style="{CustomResource Resources.Shared.TopLevelDataTemplateRootStyle}">
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto" />
            <RowDefinition Height="Auto" />
            <RowDefinition Height="Auto" />
            <RowDefinition Height="*" />
        </Grid.RowDefinitions>
        <!-- Title -->
        <TextBlock tm:RichText.Text="{Binding System_ItemNameDisplay}"
                   Grid.Row="0"
                   Margin="0, 0, 0, 5"
                   MaxLines="3"
                   Style="{CustomResource Resources.Shared.SerpPrimaryTextStyle}"
                   AutomationProperties.AutomationId="Title" />
        <!-- Display URL -->
        <TextBlock tm:RichText.Text="{Binding Extended:displayUrl.System_Search_Contents}"
                   Grid.Row="1"
                   Margin="0, 0, 0, 5"
                   MaxLines="2"
                   Style="{CustomResource Resources.Shared.LinkTextStyle}"
                   AutomationProperties.AutomationId="DisplayUrl" />
        <!-- Facts row -->
        <ContentControl Grid.Row="2"
                        Content="{Binding}"
                        DataContext="{Binding Extended:facts}"
                        ContentTemplateSelector="{CustomResource GenericDataTemplateSelector}" />
        <!-- Description -->
        <TextBlock tm:RichText.Text="{Binding System_Search_AutoSummary}"
                   AutomationProperties.AutomationId="Snippet"
                   Grid.Row="3"
                   Style="{CustomResource Resources.Shared.SerpSecondaryTextStyle}"
                   Margin="0, 0, 0, 21" />
    </Grid>
</DataTemplate>

© 2026 UnknownSec