Edit C:\Windows\SystemResources\Windows.UI.Search\XAMLTemplates\News.Hero_2x2_8_1_RP-004e0293.xaml
<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.Hero_2x2_8_1_RP"> <ContentControl Style="{CustomResource Resources.Shared.HeroModuleStyle}"> <Grid Margin="-8"> <Grid.Resources> <Style x:Key="Local.News.HeroTitleStyle" TargetType="TextBlock" BasedOn="{CustomResource Resources.Shared.HeroPrimaryTextStyle}"> <Setter Property="TextTrimming" Value="CharacterEllipsis" /> <Setter Property="TextWrapping" Value="Wrap" /> <Setter Property="MaxLines" Value="2" /> <Setter Property="Margin" Value="0, 0, 0, 2" /> </Style> <Style x:Key="Local.News.HeroSnippetStyle" TargetType="TextBlock" BasedOn="{CustomResource Resources.Shared.HeroPrimaryTextStyle}"> <Setter Property="TextTrimming" Value="CharacterEllipsis" /> <Setter Property="TextWrapping" Value="Wrap" /> <Setter Property="Margin" Value="0, 0, 0, 8" /> </Style> <DataTemplate x:Key="Local.News.AttributionAndTimestamp"> <Grid> <Grid.ColumnDefinitions> <ColumnDefinition Width="*" /> <ColumnDefinition Width="Auto" /> <ColumnDefinition Width="Auto" /> </Grid.ColumnDefinitions> <TextBlock tm:RichText.Text="{Binding Extended:attribution.System_Search_Contents}" AutomationProperties.AutomationId="Attribution" /> <TextBlock Grid.Column="1" FontFamily="Segoe UI Symbol" Text="·" Margin="2, 0" /> <TextBlock Grid.Column="2" tm:RichText.Text="{Binding Extended:timestamp.System_Search_Contents}" AutomationProperties.AutomationId="Timestamp" /> </Grid> </DataTemplate> <DataTemplate x:Key="Local.News.FirstArticle_BigImage"> <Grid Style="{CustomResource Resources.Shared.NestedTopLevelDataTemplateRootStyle}" Margin="5"> <Grid.RowDefinitions> <RowDefinition Height="Auto" /> <RowDefinition Height="Auto" /> <RowDefinition Height="Auto" /> </Grid.RowDefinitions> <Border Style="{CustomResource Resources.Shared.ImagePlaceholderBorderStyle}" Width="260" Height="140" Margin="0, 0, 0, 5" BorderThickness="0" VerticalAlignment="Top"> <Image Source="{Binding Extended:relevantImage.Extended:image.Extended:src}" Style="{CustomResource Resources.Shared.BaseImageStyle}" /> </Border> <TextBlock Grid.Row="1" Style="{StaticResource Local.News.HeroTitleStyle}" tm:RichText.Text="{Binding Extended:headline.System_Search_Contents}" AutomationProperties.AutomationId="Headline" /> <ContentControl Grid.Row="2" ContentTemplate="{StaticResource Local.News.AttributionAndTimestamp}" Opacity="0.6" Margin="0, 0, 0, 10" DataContext="{Binding}" /> </Grid> </DataTemplate> <DataTemplate x:Key="Local.News.FirstArticle_SmallImage"> <Grid Style="{CustomResource Resources.Shared.NestedTopLevelDataTemplateRootStyle}" Margin="5"> <Grid.RowDefinitions> <RowDefinition Height="Auto" /> <RowDefinition Height="Auto" /> <RowDefinition Height="Auto" /> <RowDefinition Height="Auto" /> </Grid.RowDefinitions> <Border Style="{CustomResource Resources.Shared.ImagePlaceholderBorderStyle}" Width="144" Height="100" Margin="0, 0, 0, 5" HorizontalAlignment="Left" BorderThickness="0" VerticalAlignment="Top"> <Image Source="{Binding Extended:relevantImage.Extended:image.Extended:src}" Style="{CustomResource Resources.Shared.BaseImageStyle}" /> </Border> <TextBlock Grid.Row="1" Style="{StaticResource Local.News.HeroTitleStyle}" tm:RichText.Text="{Binding Extended:headline.System_Search_Contents}" AutomationProperties.AutomationId="Headline" /> <ContentControl Grid.Row="2" ContentTemplate="{StaticResource Local.News.AttributionAndTimestamp}" Opacity="0.6" Margin="0, 0, 0, 2" DataContext="{Binding}" /> <TextBlock Grid.Row="3" MaxLines="2" Style="{StaticResource Local.News.HeroSnippetStyle}" tm:RichText.Text="{Binding Extended:snippet.System_Search_Contents}" AutomationProperties.AutomationId="Snippet" /> </Grid> </DataTemplate> <DataTemplate x:Key="Local.News.FirstArticle_NoImage"> <Grid Style="{CustomResource Resources.Shared.NestedTopLevelDataTemplateRootStyle}" Margin="5"> <Grid.RowDefinitions> <RowDefinition Height="Auto" /> <RowDefinition Height="Auto" /> <RowDefinition Height="Auto" /> </Grid.RowDefinitions> <TextBlock Style="{StaticResource Local.News.HeroTitleStyle}" tm:RichText.Text="{Binding Extended:headline.System_Search_Contents}" AutomationProperties.AutomationId="Headline" /> <ContentControl Grid.Row="1" ContentTemplate="{StaticResource Local.News.AttributionAndTimestamp}" Opacity="0.6" Margin="0, 0, 0, 2" DataContext="{Binding}" /> <TextBlock Grid.Row="2" Style="{StaticResource Local.News.HeroSnippetStyle}" MaxLines="7" tm:RichText.Text="{Binding Extended:snippet.System_Search_Contents}" AutomationProperties.AutomationId="Snippet" /> </Grid> </DataTemplate> <DataTemplate x:Key="Local.News.SingleArticle"> <Grid Margin="4, 0"> <Grid.RowDefinitions> <RowDefinition Height="Auto" /> <RowDefinition Height="*" /> </Grid.RowDefinitions> <TextBlock Style="{StaticResource Local.News.HeroTitleStyle}" MaxLines="2" tm:RichText.Text="{Binding Extended:headline.System_Search_Contents}" AutomationProperties.AutomationId="Headline" /> <ContentControl Grid.Row="1" ContentTemplate="{StaticResource Local.News.AttributionAndTimestamp}" DataContext="{Binding}" /> </Grid> </DataTemplate> <tm:SwitchCaseConverter x:Key="Local.ImageTypeConverter" Default="{StaticResource Local.News.FirstArticle_NoImage}"> <tm:SwitchCase Case="Big" Value="{StaticResource Local.News.FirstArticle_BigImage}" /> <tm:SwitchCase Case="Small" Value="{StaticResource Local.News.FirstArticle_SmallImage}" /> </tm:SwitchCaseConverter> </Grid.Resources> <sc:ResultGridView Style="{CustomResource Resources.Shared.SaturatedNestedGridViewStyle}" Margin="0"> <GridView.ItemsPanel> <ItemsPanelTemplate> <Grid> <Grid.RowDefinitions> <RowDefinition Height="Auto" /> </Grid.RowDefinitions> </Grid> </ItemsPanelTemplate> </GridView.ItemsPanel> <sc:ResultGridViewItem Grid.Row="0" ActivationOverridePath="Extended:newsEmbedded.Extended:firstarticle.Extended:headline.System_ConnectedSearch_ActivateCommand"> <ContentControl DataContext="{Binding Extended:newsEmbedded.Extended:firstarticle}" ContentTemplate="{Binding Extended:imageType.System_Search_Contents, Converter={StaticResource Local.ImageTypeConverter}}" /> </sc:ResultGridViewItem> <GridView.ItemContainerStyle> <Style TargetType="sc:ResultGridViewItem" BasedOn="{CustomResource Resources.Shared.SaturatedNestedGridViewItemStyle}"> <Setter Property="ActivationOverridePath" Value="Extended:headline.System_ConnectedSearch_ActivateCommand" /> <Setter Property="Margin" Value="0" /> <Setter Property="tm:SetterBinding.Setters"> <Setter.Value> <SetterBaseCollection> <Setter Property="AutomationProperties.Name"> <Setter.Value> <tm:SetterBinding Path="Extended:headline.System_Search_Contents" /> </Setter.Value> </Setter> </SetterBaseCollection> </Setter.Value> </Setter> </Style> </GridView.ItemContainerStyle> </sc:ResultGridView> </Grid> </ContentControl> </DataTemplate>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de