<commit_before>﻿<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                    xmlns:mapping="using:Esri.ArcGISRuntime.Mapping"
                    xmlns:controls="using:Esri.ArcGISRuntime.Toolkit.UI.Controls">
  
 
  
    <Style TargetType="controls:Legend">
        <Setter Property="HorizontalAlignment" Value="Stretch" />
        <Setter Property="VerticalAlignment" Value="Stretch" />
        <Setter Property="Padding" Value="0" />
        <Setter Property="BorderBrush" Value="{ThemeResource ComboBoxBorderBrush}" />
        <Setter Property="Background" Value="{ThemeResource ComboBoxBackground}" />
        <Setter Property="Foreground" Value="{ThemeResource ComboBoxForeground}" />
             <Setter Property="LayerItemTemplate">
            <Setter.Value>
              <DataTemplate>
                <TextBlock Text="{Binding Content.Name}" FontSize="14" TextWrapping="Wrap" FontWeight="Semibold" />
              </DataTemplate>
            </Setter.Value>
        </Setter>
        <Setter Property="SublayerItemTemplate">
          <Setter.Value>
            <DataTemplate>
              <TextBlock Text="{Binding Content.Name}" FontSize="14" TextWrapping="Wrap" />
            </DataTemplate>
          </Setter.Value>
        </Setter>
        <Setter Property="LegendInfoItemTemplate">
          <Setter.Value>
            <DataTemplate>
              <StackPanel Orientation="Horizontal">
                <controls:SymbolDisplay Symbol="{Binding Content.Symbol}" MaxHeight="40" Width="40" Margin="0,0,5,0" VerticalAlignment="Center" />
                <TextBlock Text="{Binding Content.Name}" FontSize="12" VerticalAlignment="Center" TextWrapping="Wrap" />
              </StackPanel>
            </DataTemplate>
          </Setter.Value>
        </Setter>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="controls:Legend">
                    <Border BorderBrush="{TemplateBinding BorderBrush}"
                            BorderThickness="{TemplateBinding BorderThickness}"
                            Background="{TemplateBinding Background}"
                            CornerRadius="{TemplateBinding CornerRadius}">
                      <ListView x:Name="List"
                                          Foreground="{TemplateBinding Foreground}"
                                          ItemTemplateSelector="{TemplateBinding ItemTemplateSelector}"
                                          Margin="{TemplateBinding Padding}"
                                          BorderThickness="0"
                                          Padding="0" SelectionMode="None" 
                                          IsItemClickEnabled="False" >
                        <ListView.Resources>
                          <SolidColorBrush x:Key="SystemControlTransparentRevealBackgroundBrush" Color="Transparent" />
                          <SolidColorBrush x:Key="SystemControlTransparentRevealBorderBrush" Color="Transparent" />
                          <Thickness x:Key="ListViewItemRevealBorderThemeThickness">0</Thickness>
                          <SolidColorBrush x:Key="ListViewItemRevealPlaceholderBackground" Color="Transparent" />
                        </ListView.Resources>
                      </ListView>
                    </Border>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
</ResourceDictionary><commit_msg>Guard against using CornerRadius until Windows 17763 (contract 7) where it was introduced (#357)<commit_after>﻿<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                    xmlns:mapping="using:Esri.ArcGISRuntime.Mapping"
                    xmlns:controls="using:Esri.ArcGISRuntime.Toolkit.UI.Controls"
                    xmlns:contract7Present="http://schemas.microsoft.com/winfx/2006/xaml/presentation?IsApiContractPresent(Windows.Foundation.UniversalApiContract,7)"
                    >
  
 
  
    <Style TargetType="controls:Legend">
        <Setter Property="HorizontalAlignment" Value="Stretch" />
        <Setter Property="VerticalAlignment" Value="Stretch" />
        <Setter Property="Padding" Value="0" />
        <Setter Property="BorderBrush" Value="{ThemeResource ComboBoxBorderBrush}" />
        <Setter Property="Background" Value="{ThemeResource ComboBoxBackground}" />
        <Setter Property="Foreground" Value="{ThemeResource ComboBoxForeground}" />
             <Setter Property="LayerItemTemplate">
            <Setter.Value>
              <DataTemplate>
                <TextBlock Text="{Binding Content.Name}" FontSize="14" TextWrapping="Wrap" FontWeight="Semibold" />
              </DataTemplate>
            </Setter.Value>
        </Setter>
        <Setter Property="SublayerItemTemplate">
          <Setter.Value>
            <DataTemplate>
              <TextBlock Text="{Binding Content.Name}" FontSize="14" TextWrapping="Wrap" />
            </DataTemplate>
          </Setter.Value>
        </Setter>
        <Setter Property="LegendInfoItemTemplate">
          <Setter.Value>
            <DataTemplate>
              <StackPanel Orientation="Horizontal">
                <controls:SymbolDisplay Symbol="{Binding Content.Symbol}" MaxHeight="40" Width="40" Margin="0,0,5,0" VerticalAlignment="Center" />
                <TextBlock Text="{Binding Content.Name}" FontSize="12" VerticalAlignment="Center" TextWrapping="Wrap" />
              </StackPanel>
            </DataTemplate>
          </Setter.Value>
        </Setter>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="controls:Legend">
                    <Border BorderBrush="{TemplateBinding BorderBrush}"
                            BorderThickness="{TemplateBinding BorderThickness}"
                            Background="{TemplateBinding Background}"
                            contract7Present:CornerRadius="{TemplateBinding CornerRadius}">
                      <ListView x:Name="List"
                                          Foreground="{TemplateBinding Foreground}"
                                          ItemTemplateSelector="{TemplateBinding ItemTemplateSelector}"
                                          Margin="{TemplateBinding Padding}"
                                          BorderThickness="0"
                                          Padding="0" SelectionMode="None" 
                                          IsItemClickEnabled="False" >
                        <ListView.Resources>
                          <SolidColorBrush x:Key="SystemControlTransparentRevealBackgroundBrush" Color="Transparent" />
                          <SolidColorBrush x:Key="SystemControlTransparentRevealBorderBrush" Color="Transparent" />
                          <Thickness x:Key="ListViewItemRevealBorderThemeThickness">0</Thickness>
                          <SolidColorBrush x:Key="ListViewItemRevealPlaceholderBackground" Color="Transparent" />
                        </ListView.Resources>
                      </ListView>
                    </Border>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
</ResourceDictionary>
{'fraction_non_alphanumeric': 0.10915208613728129, 'fraction_numerical': 0.009152086137281292, 'mean_word_length': 1.886946386946387, 'pattern_counts': {'":': 0, '<': 105, '<?xml version=': 0, '>': 105, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 9}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 24, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6200792', 'n_tokens_mistral': 1856, 'n_tokens_neox': 1627, 'n_words': 257}