<commit_before>﻿<Window x:Class="XamlTestApplication.MainWindow"
        xmlns="https://github.com/perspex"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:vm="clr-namespace:XamlTestApplication.ViewModels;assembly=XamlTestApplicationPcl"
        xmlns:i="clr-namespace:Perspex.Xaml.Interactivity;assembly=Perspex.Xaml.Interactivity"
        xmlns:ia="clr-namespace:Perspex.Xaml.Interactions.Core;assembly=Perspex.Xaml.Interactions"
        xmlns:behaviors="clr-namespace:XamlTestApplication.Behaviors;assembly=XamlTestApplicationPcl"
        Title="XamlBehaviors Test Application" Width="800" Height="600">
    <Grid>
        <TabControl>
            <TabItem Header="EventTriggerBehavior">
                <Grid RowDefinitions="Auto,100">
                    <TextBox Name="textBox" Text="Hello" Grid.Row="0"/>
                    <Button Name="button" Content="Change Property" Grid.Row="1">
                        <i:Interaction.Behaviors>
                            <ia:EventTriggerBehavior EventName="Click" SourceObject="{Binding ElementName=button}">
                                <ia:ChangePropertyAction TargetObject="{Binding ElementName=textBox}" PropertyName="Text" Value="World"/>
                            </ia:EventTriggerBehavior>
                        </i:Interaction.Behaviors>
                    </Button>
                </Grid>
            </TabItem>
            <TabItem Header="DragPositionBehavior">
                <Grid>
                    <Ellipse Fill="Red" Stroke="Black" Height="125" Width="125" StrokeThickness="0">
                        <i:Interaction.Behaviors>
                            <behaviors:DragPositionBehavior/>
                        </i:Interaction.Behaviors>
                    </Ellipse>
                </Grid>
            </TabItem>
        </TabControl>
    </Grid>
</Window><commit_msg>Use hash sign instead of ElementName<commit_after>﻿<Window x:Class="XamlTestApplication.MainWindow"
        xmlns="https://github.com/perspex"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:vm="clr-namespace:XamlTestApplication.ViewModels;assembly=XamlTestApplicationPcl"
        xmlns:i="clr-namespace:Perspex.Xaml.Interactivity;assembly=Perspex.Xaml.Interactivity"
        xmlns:ia="clr-namespace:Perspex.Xaml.Interactions.Core;assembly=Perspex.Xaml.Interactions"
        xmlns:behaviors="clr-namespace:XamlTestApplication.Behaviors;assembly=XamlTestApplicationPcl"
        Title="XamlBehaviors Test Application" Width="800" Height="600">
    <Grid>
        <TabControl>
            <TabItem Header="EventTriggerBehavior">
                <Grid RowDefinitions="Auto,100">
                    <TextBox Name="textBox" Text="Hello" Grid.Row="0"/>
                    <Button Name="button" Content="Change Property" Grid.Row="1">
                        <i:Interaction.Behaviors>
                            <ia:EventTriggerBehavior EventName="Click" SourceObject="{Binding #button}">
                                <ia:ChangePropertyAction TargetObject="{Binding #textBox}" PropertyName="Text" Value="World"/>
                            </ia:EventTriggerBehavior>
                        </i:Interaction.Behaviors>
                    </Button>
                </Grid>
            </TabItem>
            <TabItem Header="DragPositionBehavior">
                <Grid>
                    <Ellipse Fill="Red" Stroke="Black" Height="125" Width="125" StrokeThickness="0">
                        <i:Interaction.Behaviors>
                            <behaviors:DragPositionBehavior/>
                        </i:Interaction.Behaviors>
                    </Ellipse>
                </Grid>
            </TabItem>
        </TabControl>
    </Grid>
</Window>
{'fraction_non_alphanumeric': 0.12111553784860558, 'fraction_numerical': 0.011686586985391767, 'mean_word_length': 2.061788617886179, 'pattern_counts': {'":': 0, '<': 57, '<?xml version=': 0, '>': 57, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 12}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4550296', 'n_tokens_mistral': 1080, 'n_tokens_neox': 993, 'n_words': 126}