<commit_before>﻿<Controls:MetroWindow x:Class="MetroDemo.ExampleWindows.VSDemo"
                      xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                      xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                      xmlns:Controls="clr-namespace:MahApps.Metro.Controls;assembly=MahApps.Metro"
                      xmlns:System="clr-namespace:System;assembly=mscorlib"
                      xmlns:iconPacks="http://metro.mahapps.com/winfx/xaml/iconpacks"
                      x:Name="MainWindow"
                      Title="Visual Studio 2012 Style Demo"
                      Width="1000"
                      Height="800"
                      Style="{DynamicResource MahApps.Styles.MetroWindow.VisualStudio}"
                      WindowStartupLocation="CenterScreen">

    <Window.Resources>
        <ResourceDictionary>
            <ResourceDictionary.MergedDictionaries>
                <ResourceDictionary Source="pack://application:,,,/MahApps.Metro;component/Styles/VS/Colors.xaml" />
                <ResourceDictionary Source="pack://application:,,,/MahApps.Metro;component/Styles/VS/Styles.xaml" />
            </ResourceDictionary.MergedDictionaries>
        </ResourceDictionary>
    </Window.Resources>

    <Window.InputBindings>
        <KeyBinding Key="Q"
                    Command="{Binding QuickLaunchBarFocusCommand, ElementName=MainWindow}"
                    Modifiers="Control" />
    </Window.InputBindings>

    <Controls:MetroWindow.RightWindowCommands>
        <Controls:WindowCommands ShowSeparators="False">
            <Button Style="{StaticResource MahApps.Styles.Button.Window.Notification.VisualStudio}" ToolTip="1 Notification">
                <iconPacks:PackIconEntypo Width="16"
                                          Height="16"
                                          Kind="Flag" />
            </Button>
            <TextBox Name="QuickLaunchBar"
                     Controls:TextBoxHelper.ButtonContent="{iconPacks:Modern Magnify,
                                                                             Width=12,
                                                                             Height=12}"
                     Controls:TextBoxHelper.Watermark="Quick Launch (Ctrl+Q)"
                     Style="{DynamicResource MahApps.Styles.TextBox.WindowQuickLaunch.VisualStudio}" />
        </Controls:WindowCommands>
    </Controls:MetroWindow.RightWindowCommands>

    <DockPanel>
        <Menu Margin="2 0 0 0"<commit_msg>(maint) Use Win10 WindowButtonCommands at VS demo<commit_after>﻿<Controls:MetroWindow x:Class="MetroDemo.ExampleWindows.VSDemo"
                      xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                      xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                      xmlns:Controls="clr-namespace:MahApps.Metro.Controls;assembly=MahApps.Metro"
                      xmlns:System="clr-namespace:System;assembly=mscorlib"
                      xmlns:iconPacks="http://metro.mahapps.com/winfx/xaml/iconpacks"
                      x:Name="MainWindow"
                      Title="Visual Studio 2012 Style Demo"
                      Width="1000"
                      Height="800"
                      Style="{DynamicResource MahApps.Styles.MetroWindow.VisualStudio}"
                      WindowStartupLocation="CenterScreen">

    <Window.Resources>
        <ResourceDictionary>
            <ResourceDictionary.MergedDictionaries>
                <ResourceDictionary Source="pack://application:,,,/MahApps.Metro;component/Styles/VS/Colors.xaml" />
                <ResourceDictionary Source="pack://application:,,,/MahApps.Metro;component/Styles/VS/Styles.xaml" />
            </ResourceDictionary.MergedDictionaries>
        </ResourceDictionary>
    </Window.Resources>

    <Window.InputBindings>
        <KeyBinding Key="Q"
                    Command="{Binding QuickLaunchBarFocusCommand, ElementName=MainWindow}"
                    Modifiers="Control" />
    </Window.InputBindings>

    <Controls:MetroWindow.RightWindowCommands>
        <Controls:WindowCommands ShowSeparators="False">
            <Button Style="{StaticResource MahApps.Styles.Button.Window.Notification.VisualStudio}" ToolTip="1 Notification">
                <iconPacks:PackIconEntypo Width="16"
                                          Height="16"
                                          Kind="Flag" />
            </Button>
            <TextBox Name="QuickLaunchBar"
                     Controls:TextBoxHelper.ButtonContent="{iconPacks:Modern Magnify,
                                                                             Width=12,
                                                                             Height=12}"
                     Controls:TextBoxHelper.Watermark="Quick Launch (Ctrl+Q)"
                     Style="{DynamicResource MahApps.Styles.TextBox.WindowQuickLaunch.VisualStudio}" />
        </Controls:WindowCommands>
    </Controls:MetroWindow.RightWindowCommands>

    <Controls:MetroWindow.WindowButtonCommands>
        <Controls:WindowButtonCommands Style="{DynamicResource MahApps.Styles.WindowButtonCommands.Win10}" />
    </Controls:MetroWindow.WindowButtonCommands>

    <DockPanel>
        <Menu Margin="2 0 0 0"
{'fraction_non_alphanumeric': 0.10402558314522198, 'fraction_numerical': 0.012791572610985704, 'mean_word_length': 1.8266879319510898, 'pattern_counts': {'":': 0, '<': 50, '<?xml version=': 0, '>': 48, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 10}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 20, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5833173', 'n_tokens_mistral': 1401, 'n_tokens_neox': 1276, 'n_words': 146}