<UserControl
    d:DesignHeight="450"
    d:DesignWidth="800"
    mc:Ignorable="d"
    x:Class="PicView.Avalonia.Views.Main.KeybindingsView"
    x:DataType="viewModels:MainViewModel"
    xmlns="https://github.com/avaloniaui"
    xmlns:customControls="clr-namespace:PicView.Avalonia.CustomControls"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:viewModels="clr-namespace:PicView.Avalonia.ViewModels"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
    <Design.DataContext>
        <viewModels:MainViewModel />
    </Design.DataContext>

    <!--  Filter  -->
    <DockPanel>

        <Panel DockPanel.Dock="Top" Margin="7,0">
            <Image
                Height="14"
                HorizontalAlignment="Left"
                Margin="15,0,0,0"
                Source="{StaticResource SearchImage}"
                Width="14" />

            <TextBox
                Background="Transparent"
                BorderBrush="{DynamicResource MainBorderColor}"
                BorderThickness="1"
                CornerRadius="4"
                FontFamily="/Assets/Fonts/Roboto-Regular.ttf#Roboto"
                Foreground="{DynamicResource MainTextColor}"
                Padding="50,7,4,7"
                Text="{CompiledBinding Keybindings.FilterText.Value,
                                       FallbackValue='',
                                       Mode=TwoWay}"
                VerticalAlignment="Center"
                Watermark="{CompiledBinding Translation.Filter.Value,
                                            Mode=OneWay}"
                x:Name="FilterBox" />

            <!--  clear  -->
            <customControls:IconButton
                Classes="altHover"
                Command="{CompiledBinding Keybindings.ClearFilteringCommand}"
                Data="{StaticResource CloseGeometry}"
                Foreground="{DynamicResource MainTextColorFaded}"
                HorizontalAlignment="Right"
                IconHeight="12"
                IconWidth="12"
                IsVisible="{CompiledBinding Keybindings.FilterText.Value,
                                            Converter={x:Static StringConverters.IsNotNullOrEmpty}}"
                Padding="10,3,10,3"
                x:Name="ClearButton" />
        </Panel>

        <customControls:AutoScrollViewer>

            <StackPanel>

                <!--  Search  -->
                <ItemsControl IsVisible="{CompiledBinding Keybindings.IsFiltering.Value}" ItemsSource="{CompiledBinding Keybindings.FilteredKeys.Value}">
                    <ItemsControl.ItemTemplate>
                        <DataTemplate>
                            <StackPanel Margin="15,10,10,10" Orientation="Horizontal">
                                <TextBlock
                                    Classes="txt"
                                    FontFamily="/Assets/Fonts/Roboto-Bold.ttf#Roboto"
                                    Text="{CompiledBinding FriendlyMethodName}"
                                    Width="170" />
                                <customControls:KeybindTextBox
                                    Alt="False"
                                    Classes="hover TStyle"
                                    IsReadOnly="{CompiledBinding IsReadOnly,
                                                                 Mode=OneTime}"
                                    MethodName="{CompiledBinding MethodName}"
                                    Text="{CompiledBinding Key,
                                                           Mode=OneTime}"
                                    ToolTip.Tip="{CompiledBinding #MainPanel.((viewModels:MainViewModel)DataContext).Translation.ChangeKeybindingTooltip.Value,
                                                                  Mode=OneWay}"
                                    Width="140" />
                                <customControls:KeybindTextBox
                                    Alt="True"
                                    Classes="hover TStyle"
                                    IsReadOnly="{CompiledBinding IsReadOnly,
                                                                 Mode=OneTime}"
                                    MethodName="{CompiledBinding MethodName}"
                                    Text="{CompiledBinding AltKey,
                                                           Mode=OneTime}"
                                    ToolTip.Tip="{CompiledBinding #MainPanel.((viewModels:MainViewModel)DataContext).Translation.ChangeKeybindingTooltip.Value,
                                                                  Mode=OneWay}"
                                    Width="140" />
                            </StackPanel>
                        </DataTemplate>
                    </ItemsControl.ItemTemplate>
                </ItemsControl>

                <!--  Description  -->
                <StackPanel
                    IsVisible="{CompiledBinding !Keybindings.IsFiltering.Value}"
                    Margin="5,0,2,25"
                    x:Name="MainPanel">
                    <TextBlock
                        Classes="txt"
                        FontFamily="/Assets/Fonts/Roboto-Bold.ttf#Roboto"
                        FontSize="16"
                        Margin="10,20,10,15"
                        Text="{CompiledBinding Translation.ApplicationShortcuts.Value,
                                               Mode=OneWay}"
                        TextAlignment="Center"
                        x:Name="ApplicationShortcutsTextBlock" />
                    <TextBlock
                        Classes="txt"
                        FontFamily="/Assets/Fonts/Roboto-Bold.ttf#Roboto"
                        Text="{CompiledBinding Translation.ChangeKeybindingText.Value,
                                               Mode=OneWay}"
                        TextAlignment="Center"
                        x:Name="ChangeKeybindingTextBlock" />
                    <Button
                        Classes="BorderStyle altHover mainBtn"
                        Command="{CompiledBinding Keybindings.ResetKeybindingsCommand}"
                        HorizontalAlignment="Center"
                        Margin="0,15,0,25"
                        x:Name="DefaultButton">
                        <TextBlock Classes="txt" Text="{CompiledBinding Translation.ResetButtonText.Value, Mode=OneWay}" />
                    </Button>

                    <!--  Navigation  -->
                    <TextBlock
                        Classes="txt"
                        FontFamily="/Assets/Fonts/Roboto-Bold.ttf#Roboto"
                        FontSize="14"
                        Margin="10,10,10,15"
                        Text="{CompiledBinding Translation.Navigation.Value,
                                               Mode=OneWay}"
                        TextAlignment="Center" />
                    <ItemsControl ItemsSource="{CompiledBinding Keybindings.NavigationKeys.Value}">
                        <ItemsControl.ItemTemplate>
                            <DataTemplate>
                                <StackPanel Margin="15,0,10,10" Orientation="Horizontal">
                                    <TextBlock
                                        Classes="txt"
                                        FontFamily="/Assets/Fonts/Roboto-Bold.ttf#Roboto"
                                        Text="{CompiledBinding FriendlyMethodName}"
                                        Width="170" />
                                    <customControls:KeybindTextBox
                                        Alt="False"
                                        Classes="hover TStyle"
                                        IsReadOnly="{CompiledBinding IsReadOnly,
                                                                     Mode=OneTime}"
                                        MethodName="{CompiledBinding MethodName}"
                                        Text="{CompiledBinding Key,
                                                               Mode=OneTime}"
                                        ToolTip.Tip="{CompiledBinding #MainPanel.((viewModels:MainViewModel)DataContext).Translation.ChangeKeybindingTooltip.Value,
                                                                      Mode=OneWay}"
                                        Width="140" />
                                    <customControls:KeybindTextBox
                                        Alt="True"
                                        Classes="hover TStyle"
                                        IsReadOnly="{CompiledBinding IsReadOnly,
                                                                     Mode=OneTime}"
                                        MethodName="{CompiledBinding MethodName}"
                                        Text="{CompiledBinding AltKey,
                                                               Mode=OneTime}"
                                        ToolTip.Tip="{CompiledBinding #MainPanel.((viewModels:MainViewModel)DataContext).Translation.ChangeKeybindingTooltip.Value,
                                                                      Mode=OneWay}"
                                        Width="140" />
                                </StackPanel>
                            </DataTemplate>
                        </ItemsControl.ItemTemplate>
                    </ItemsControl>

                    <!--  Scroll and rotate  -->
                    <TextBlock
                        Classes="txt"
                        FontFamily="/Assets/Fonts/Roboto-Bold.ttf#Roboto"
                        FontSize="14"
                        Margin="10,10,10,15"
                        Text="{CompiledBinding Translation.ScrollAndRotate.Value,
                                               Mode=OneWay}"
                        TextAlignment="Center" />
                    <ItemsControl ItemsSource="{CompiledBinding Keybindings.ScrollAndRotateKeys.Value}">
                        <ItemsControl.ItemTemplate>
                            <DataTemplate>
                                <StackPanel Margin="15,0,10,10" Orientation="Horizontal">
                                    <TextBlock
                                        Classes="txt"
                                        FontFamily="/Assets/Fonts/Roboto-Bold.ttf#Roboto"
                                        Text="{CompiledBinding FriendlyMethodName}"
                                        Width="170" />
                                    <customControls:KeybindTextBox
                                        Alt="False"
                                        Classes="hover TStyle"
                                        IsReadOnly="{CompiledBinding IsReadOnly,
                                                                     Mode=OneTime}"
                                        MethodName="{CompiledBinding MethodName}"
                                        Text="{CompiledBinding Key,
                                                               Mode=OneTime}"
                                        ToolTip.Tip="{CompiledBinding #MainPanel.((viewModels:MainViewModel)DataContext).Translation.ChangeKeybindingTooltip.Value,
                                                                      Mode=OneWay}"
                                        Width="140" />
                                    <customControls:KeybindTextBox
                                        Alt="True"
                                        Classes="hover TStyle"
                                        IsReadOnly="{CompiledBinding IsReadOnly,
                                                                     Mode=OneTime}"
                                        MethodName="{CompiledBinding MethodName}"
                                        Text="{CompiledBinding AltKey,
                                                               Mode=OneTime}"
                                        ToolTip.Tip="{CompiledBinding #MainPanel.((viewModels:MainViewModel)DataContext).Translation.ChangeKeybindingTooltip.Value,
                                                                      Mode=OneWay}"
                                        Width="140" />
                                </StackPanel>
                            </DataTemplate>
                        </ItemsControl.ItemTemplate>
                    </ItemsControl>

                    <!--  Zoom  -->
                    <TextBlock
                        Classes="txt"
                        FontFamily="/Assets/Fonts/Roboto-Bold.ttf#Roboto"
                        FontSize="14"
                        Margin="10,10,10,15"
                        Text="{CompiledBinding Translation.Zoom.Value,
                                               Mode=OneWay}"
                        TextAlignment="Center" />
                    <ItemsControl ItemsSource="{CompiledBinding Keybindings.ZoomKeys.Value}">
                        <ItemsControl.ItemTemplate>
                            <DataTemplate>
                                <StackPanel Margin="15,0,10,10" Orientation="Horizontal">
                                    <TextBlock
                                        Classes="txt"
                                        FontFamily="/Assets/Fonts/Roboto-Bold.ttf#Roboto"
                                        Text="{CompiledBinding FriendlyMethodName}"
                                        Width="170" />
                                    <customControls:KeybindTextBox
                                        Alt="False"
                                        Classes="hover TStyle"
                                        IsReadOnly="{CompiledBinding IsReadOnly,
                                                                     Mode=OneTime}"
                                        MethodName="{CompiledBinding MethodName}"
                                        Text="{CompiledBinding Key,
                                                               Mode=OneTime}"
                                        ToolTip.Tip="{CompiledBinding #MainPanel.((viewModels:MainViewModel)DataContext).Translation.ChangeKeybindingTooltip.Value,
                                                                      Mode=OneWay}"
                                        Width="140" />
                                    <customControls:KeybindTextBox
                                        Alt="True"
                                        Classes="hover TStyle"
                                        IsReadOnly="{CompiledBinding IsReadOnly,
                                                                     Mode=OneTime}"
                                        MethodName="{CompiledBinding MethodName}"
                                        Text="{CompiledBinding AltKey,
                                                               Mode=OneTime}"
                                        ToolTip.Tip="{CompiledBinding #MainPanel.((viewModels:MainViewModel)DataContext).Translation.ChangeKeybindingTooltip.Value,
                                                                      Mode=OneWay}"
                                        Width="140" />
                                </StackPanel>
                            </DataTemplate>
                        </ItemsControl.ItemTemplate>
                    </ItemsControl>

                    <!--  Image control  -->
                    <TextBlock
                        Classes="txt"
                        FontFamily="/Assets/Fonts/Roboto-Bold.ttf#Roboto"
                        FontSize="14"
                        Margin="10,10,10,15"
                        Text="{CompiledBinding Translation.ImageControl.Value,
                                               Mode=OneWay}"
                        TextAlignment="Center" />
                    <ItemsControl ItemsSource="{CompiledBinding Keybindings.ImageControlKeys.Value}">
                        <ItemsControl.ItemTemplate>
                            <DataTemplate>
                                <StackPanel Margin="15,0,10,10" Orientation="Horizontal">
                                    <TextBlock
                                        Classes="txt"
                                        FontFamily="/Assets/Fonts/Roboto-Bold.ttf#Roboto"
                                        Text="{CompiledBinding FriendlyMethodName}"
                                        Width="170" />
                                    <customControls:KeybindTextBox
                                        Alt="False"
                                        Classes="hover TStyle"
                                        IsReadOnly="{CompiledBinding IsReadOnly,
                                                                     Mode=OneTime}"
                                        MethodName="{CompiledBinding MethodName}"
                                        Text="{CompiledBinding Key,
                                                               Mode=OneTime}"
                                        ToolTip.Tip="{CompiledBinding #MainPanel.((viewModels:MainViewModel)DataContext).Translation.ChangeKeybindingTooltip.Value,
                                                                      Mode=OneWay}"
                                        Width="140" />
                                    <customControls:KeybindTextBox
                                        Alt="True"
                                        Classes="hover TStyle"
                                        IsReadOnly="{CompiledBinding IsReadOnly,
                                                                     Mode=OneTime}"
                                        MethodName="{CompiledBinding MethodName}"
                                        Text="{CompiledBinding AltKey,
                                                               Mode=OneTime}"
                                        ToolTip.Tip="{CompiledBinding #MainPanel.((viewModels:MainViewModel)DataContext).Translation.ChangeKeybindingTooltip.Value,
                                                                      Mode=OneWay}"
                                        Width="140" />
                                </StackPanel>
                            </DataTemplate>
                        </ItemsControl.ItemTemplate>
                    </ItemsControl>

                    <!--  Interface configuration  -->
                    <TextBlock
                        Classes="txt"
                        FontFamily="/Assets/Fonts/Roboto-Bold.ttf#Roboto"
                        FontSize="14"
                        Margin="10,10,10,15"
                        Text="{CompiledBinding Translation.InterfaceConfiguration.Value,
                                               Mode=OneWay}"
                        TextAlignment="Center" />
                    <ItemsControl ItemsSource="{CompiledBinding Keybindings.InterfaceConfigurationKeys.Value}">
                        <ItemsControl.ItemTemplate>
                            <DataTemplate>
                                <StackPanel Margin="15,0,10,10" Orientation="Horizontal">
                                    <TextBlock
                                        Classes="txt"
                                        FontFamily="/Assets/Fonts/Roboto-Bold.ttf#Roboto"
                                        Text="{CompiledBinding FriendlyMethodName}"
                                        Width="170" />
                                    <customControls:KeybindTextBox
                                        Alt="False"
                                        Classes="hover TStyle"
                                        IsReadOnly="{CompiledBinding IsReadOnly,
                                                                     Mode=OneTime}"
                                        MethodName="{CompiledBinding MethodName}"
                                        Text="{CompiledBinding Key,
                                                               Mode=OneTime}"
                                        ToolTip.Tip="{CompiledBinding #MainPanel.((viewModels:MainViewModel)DataContext).Translation.ChangeKeybindingTooltip.Value,
                                                                      Mode=OneWay}"
                                        Width="140" />
                                    <customControls:KeybindTextBox
                                        Alt="True"
                                        Classes="hover TStyle"
                                        IsReadOnly="{CompiledBinding IsReadOnly,
                                                                     Mode=OneTime}"
                                        MethodName="{CompiledBinding MethodName}"
                                        Text="{CompiledBinding AltKey,
                                                               Mode=OneTime}"
                                        ToolTip.Tip="{CompiledBinding #MainPanel.((viewModels:MainViewModel)DataContext).Translation.ChangeKeybindingTooltip.Value,
                                                                      Mode=OneWay}"
                                        Width="140" />
                                </StackPanel>
                            </DataTemplate>
                        </ItemsControl.ItemTemplate>
                    </ItemsControl>

                    <!--  File management  -->
                    <TextBlock
                        Classes="txt"
                        FontFamily="/Assets/Fonts/Roboto-Bold.ttf#Roboto"
                        FontSize="14"
                        Margin="10,10,10,15"
                        Text="{CompiledBinding Translation.FileManagement.Value,
                                               Mode=OneWay}"
                        TextAlignment="Center" />
                    <ItemsControl ItemsSource="{CompiledBinding Keybindings.FileManagementKeys.Value}">
                        <ItemsControl.ItemTemplate>
                            <DataTemplate>
                                <StackPanel Margin="15,0,10,10" Orientation="Horizontal">
                                    <TextBlock
                                        Classes="txt"
                                        FontFamily="/Assets/Fonts/Roboto-Bold.ttf#Roboto"
                                        Text="{CompiledBinding FriendlyMethodName}"
                                        Width="170" />
                                    <customControls:KeybindTextBox
                                        Alt="False"
                                        Classes="hover TStyle"
                                        IsReadOnly="{CompiledBinding IsReadOnly,
                                                                     Mode=OneTime}"
                                        MethodName="{CompiledBinding MethodName}"
                                        Text="{CompiledBinding Key,
                                                               Mode=OneTime}"
                                        ToolTip.Tip="{CompiledBinding #MainPanel.((viewModels:MainViewModel)DataContext).Translation.ChangeKeybindingTooltip.Value,
                                                                      Mode=OneWay}"
                                        Width="140" />
                                    <customControls:KeybindTextBox
                                        Alt="True"
                                        Classes="hover TStyle"
                                        IsReadOnly="{CompiledBinding IsReadOnly,
                                                                     Mode=OneTime}"
                                        MethodName="{CompiledBinding MethodName}"
                                        Text="{CompiledBinding AltKey,
                                                               Mode=OneTime}"
                                        ToolTip.Tip="{CompiledBinding #MainPanel.((viewModels:MainViewModel)DataContext).Translation.ChangeKeybindingTooltip.Value,
                                                                      Mode=OneWay}"
                                        Width="140" />
                                </StackPanel>
                            </DataTemplate>
                        </ItemsControl.ItemTemplate>
                    </ItemsControl>

                    <!--  Sort files by  -->
                    <TextBlock
                        Classes="txt"
                        FontFamily="/Assets/Fonts/Roboto-Bold.ttf#Roboto"
                        FontSize="14"
                        Margin="10,10,10,15"
                        Text="{CompiledBinding Translation.SortFilesBy.Value,
                                               Mode=OneWay}"
                        TextAlignment="Center" />
                    <ItemsControl ItemsSource="{CompiledBinding Keybindings.SortFilesKeys.Value}">
                        <ItemsControl.ItemTemplate>
                            <DataTemplate>
                                <StackPanel Margin="15,0,10,10" Orientation="Horizontal">
                                    <TextBlock
                                        Classes="txt"
                                        FontFamily="/Assets/Fonts/Roboto-Bold.ttf#Roboto"
                                        Text="{CompiledBinding FriendlyMethodName}"
                                        Width="170" />
                                    <customControls:KeybindTextBox
                                        Alt="False"
                                        Classes="hover TStyle"
                                        IsReadOnly="{CompiledBinding IsReadOnly,
                                                                     Mode=OneTime}"
                                        MethodName="{CompiledBinding MethodName}"
                                        Text="{CompiledBinding Key,
                                                               Mode=OneTime}"
                                        ToolTip.Tip="{CompiledBinding #MainPanel.((viewModels:MainViewModel)DataContext).Translation.ChangeKeybindingTooltip.Value,
                                                                      Mode=OneWay}"
                                        Width="140" />
                                    <customControls:KeybindTextBox
                                        Alt="True"
                                        Classes="hover TStyle"
                                        IsReadOnly="{CompiledBinding IsReadOnly,
                                                                     Mode=OneTime}"
                                        MethodName="{CompiledBinding MethodName}"
                                        Text="{CompiledBinding AltKey,
                                                               Mode=OneTime}"
                                        ToolTip.Tip="{CompiledBinding #MainPanel.((viewModels:MainViewModel)DataContext).Translation.ChangeKeybindingTooltip.Value,
                                                                      Mode=OneWay}"
                                        Width="140" />
                                </StackPanel>
                            </DataTemplate>
                        </ItemsControl.ItemTemplate>
                    </ItemsControl>


                    <!--  Copy  -->
                    <TextBlock
                        Classes="txt"
                        FontFamily="/Assets/Fonts/Roboto-Bold.ttf#Roboto"
                        FontSize="14"
                        Margin="10,10,10,15"
                        Text="{CompiledBinding Translation.Copy.Value,
                                               Mode=OneWay}"
                        TextAlignment="Center" />
                    <ItemsControl ItemsSource="{CompiledBinding Keybindings.CopyKeys.Value}">
                        <ItemsControl.ItemTemplate>
                            <DataTemplate>
                                <StackPanel Margin="15,0,10,10" Orientation="Horizontal">
                                    <TextBlock
                                        Classes="txt"
                                        FontFamily="/Assets/Fonts/Roboto-Bold.ttf#Roboto"
                                        Text="{CompiledBinding FriendlyMethodName}"
                                        Width="170" />
                                    <customControls:KeybindTextBox
                                        Alt="False"
                                        Classes="hover TStyle"
                                        IsReadOnly="{CompiledBinding IsReadOnly,
                                                                     Mode=OneTime}"
                                        MethodName="{CompiledBinding MethodName}"
                                        Text="{CompiledBinding Key,
                                                               Mode=OneTime}"
                                        ToolTip.Tip="{CompiledBinding #MainPanel.((viewModels:MainViewModel)DataContext).Translation.ChangeKeybindingTooltip.Value,
                                                                      Mode=OneWay}"
                                        Width="140" />
                                    <customControls:KeybindTextBox
                                        Alt="True"
                                        Classes="hover TStyle"
                                        IsReadOnly="{CompiledBinding IsReadOnly,
                                                                     Mode=OneTime}"
                                        MethodName="{CompiledBinding MethodName}"
                                        Text="{CompiledBinding AltKey,
                                                               Mode=OneTime}"
                                        ToolTip.Tip="{CompiledBinding #MainPanel.((viewModels:MainViewModel)DataContext).Translation.ChangeKeybindingTooltip.Value,
                                                                      Mode=OneWay}"
                                        Width="140" />
                                </StackPanel>
                            </DataTemplate>
                        </ItemsControl.ItemTemplate>
                    </ItemsControl>

                    <!--  Tool Windows  -->
                    <TextBlock
                        Classes="txt"
                        FontFamily="/Assets/Fonts/Roboto-Bold.ttf#Roboto"
                        FontSize="14"
                        Margin="10,10,10,15"
                        Text="{CompiledBinding Translation.ToolWindows.Value,
                                               Mode=OneWay}"
                        TextAlignment="Center" />
                    <ItemsControl ItemsSource="{CompiledBinding Keybindings.ToolWindowsKeys.Value}">
                        <ItemsControl.ItemTemplate>
                            <DataTemplate>
                                <StackPanel Margin="15,0,10,10" Orientation="Horizontal">
                                    <TextBlock
                                        Classes="txt"
                                        FontFamily="/Assets/Fonts/Roboto-Bold.ttf#Roboto"
                                        Text="{CompiledBinding FriendlyMethodName}"
                                        Width="170" />
                                    <customControls:KeybindTextBox
                                        Alt="False"
                                        Classes="hover TStyle"
                                        IsReadOnly="{CompiledBinding IsReadOnly,
                                                                     Mode=OneTime}"
                                        MethodName="{CompiledBinding MethodName}"
                                        Text="{CompiledBinding Key,
                                                               Mode=OneTime}"
                                        ToolTip.Tip="{CompiledBinding #MainPanel.((viewModels:MainViewModel)DataContext).Translation.ChangeKeybindingTooltip.Value,
                                                                      Mode=OneWay}"
                                        Width="140" />
                                    <customControls:KeybindTextBox
                                        Alt="True"
                                        Classes="hover TStyle"
                                        IsReadOnly="{CompiledBinding IsReadOnly,
                                                                     Mode=OneTime}"
                                        MethodName="{CompiledBinding MethodName}"
                                        Text="{CompiledBinding AltKey,
                                                               Mode=OneTime}"
                                        ToolTip.Tip="{CompiledBinding #MainPanel.((viewModels:MainViewModel)DataContext).Translation.ChangeKeybindingTooltip.Value,
                                                                      Mode=OneWay}"
                                        Width="140" />
                                </StackPanel>
                            </DataTemplate>
                        </ItemsControl.ItemTemplate>
                    </ItemsControl>

                    <!--  Window management  -->
                    <TextBlock
                        Classes="txt"
                        FontFamily="/Assets/Fonts/Roboto-Bold.ttf#Roboto"
                        FontSize="14"
                        Margin="10,10,10,15"
                        Text="{CompiledBinding Translation.WindowManagement.Value,
                                               Mode=OneWay}"
                        TextAlignment="Center" />
                    <ItemsControl ItemsSource="{CompiledBinding Keybindings.WindowManagementKeys.Value}">
                        <ItemsControl.ItemTemplate>
                            <DataTemplate>
                                <StackPanel Margin="15,0,10,10" Orientation="Horizontal">
                                    <TextBlock
                                        Classes="txt"
                                        FontFamily="/Assets/Fonts/Roboto-Bold.ttf#Roboto"
                                        Text="{CompiledBinding FriendlyMethodName}"
                                        Width="170" />
                                    <customControls:KeybindTextBox
                                        Alt="False"
                                        Classes="hover TStyle"
                                        IsReadOnly="{CompiledBinding IsReadOnly,
                                                                     Mode=OneTime}"
                                        MethodName="{CompiledBinding MethodName}"
                                        Text="{CompiledBinding Key,
                                                               Mode=OneTime}"
                                        ToolTip.Tip="{CompiledBinding #MainPanel.((viewModels:MainViewModel)DataContext).Translation.ChangeKeybindingTooltip.Value,
                                                                      Mode=OneWay}"
                                        Width="140" />
                                    <customControls:KeybindTextBox
                                        Alt="True"
                                        Classes="hover TStyle"
                                        IsReadOnly="{CompiledBinding IsReadOnly,
                                                                     Mode=OneTime}"
                                        MethodName="{CompiledBinding MethodName}"
                                        Text="{CompiledBinding AltKey,
                                                               Mode=OneTime}"
                                        ToolTip.Tip="{CompiledBinding #MainPanel.((viewModels:MainViewModel)DataContext).Translation.ChangeKeybindingTooltip.Value,
                                                                      Mode=OneWay}"
                                        Width="140" />
                                </StackPanel>
                            </DataTemplate>
                        </ItemsControl.ItemTemplate>
                    </ItemsControl>

                    <!--  Window scaling  -->
                    <TextBlock
                        Classes="txt"
                        FontFamily="/Assets/Fonts/Roboto-Bold.ttf#Roboto"
                        FontSize="14"
                        Margin="10,10,10,15"
                        Text="{CompiledBinding Translation.WindowScaling.Value,
                                               Mode=OneWay}"
                        TextAlignment="Center" />
                    <ItemsControl ItemsSource="{CompiledBinding Keybindings.WindowScalingKeys.Value}">
                        <ItemsControl.ItemTemplate>
                            <DataTemplate>
                                <StackPanel Margin="15,0,10,10" Orientation="Horizontal">
                                    <TextBlock
                                        Classes="txt"
                                        FontFamily="/Assets/Fonts/Roboto-Bold.ttf#Roboto"
                                        Text="{CompiledBinding FriendlyMethodName}"
                                        Width="170" />
                                    <customControls:KeybindTextBox
                                        Alt="False"
                                        Classes="hover TStyle"
                                        IsReadOnly="{CompiledBinding IsReadOnly,
                                                                     Mode=OneTime}"
                                        MethodName="{CompiledBinding MethodName}"
                                        Text="{CompiledBinding Key,
                                                               Mode=OneTime}"
                                        ToolTip.Tip="{CompiledBinding #MainPanel.((viewModels:MainViewModel)DataContext).Translation.ChangeKeybindingTooltip.Value,
                                                                      Mode=OneWay}"
                                        Width="140" />
                                    <customControls:KeybindTextBox
                                        Alt="True"
                                        Classes="hover TStyle"
                                        IsReadOnly="{CompiledBinding IsReadOnly,
                                                                     Mode=OneTime}"
                                        MethodName="{CompiledBinding MethodName}"
                                        Text="{CompiledBinding AltKey,
                                                               Mode=OneTime}"
                                        ToolTip.Tip="{CompiledBinding #MainPanel.((viewModels:MainViewModel)DataContext).Translation.ChangeKeybindingTooltip.Value,
                                                                      Mode=OneWay}"
                                        Width="140" />
                                </StackPanel>
                            </DataTemplate>
                        </ItemsControl.ItemTemplate>
                    </ItemsControl>

                    <!--  Set star rating  -->
                    <TextBlock
                        Classes="txt"
                        FontFamily="/Assets/Fonts/Roboto-Bold.ttf#Roboto"
                        FontSize="14"
                        Margin="10,10,10,15"
                        Text="{CompiledBinding Translation.SetStarRating.Value,
                                               Mode=OneWay}"
                        TextAlignment="Center" />
                    <ItemsControl ItemsSource="{CompiledBinding Keybindings.StarRatingKeys.Value}">
                        <ItemsControl.ItemTemplate>
                            <DataTemplate>
                                <StackPanel Margin="15,0,10,10" Orientation="Horizontal">
                                    <TextBlock
                                        Classes="txt"
                                        FontFamily="/Assets/Fonts/Roboto-Bold.ttf#Roboto"
                                        Text="{CompiledBinding FriendlyMethodName}"
                                        Width="170" />
                                    <customControls:KeybindTextBox
                                        Alt="False"
                                        Classes="hover TStyle"
                                        IsReadOnly="{CompiledBinding IsReadOnly,
                                                                     Mode=OneTime}"
                                        MethodName="{CompiledBinding MethodName}"
                                        Text="{CompiledBinding Key,
                                                               Mode=OneTime}"
                                        ToolTip.Tip="{CompiledBinding #MainPanel.((viewModels:MainViewModel)DataContext).Translation.ChangeKeybindingTooltip.Value,
                                                                      Mode=OneWay}"
                                        Width="140" />
                                    <customControls:KeybindTextBox
                                        Alt="True"
                                        Classes="hover TStyle"
                                        IsReadOnly="{CompiledBinding IsReadOnly,
                                                                     Mode=OneTime}"
                                        MethodName="{CompiledBinding MethodName}"
                                        Text="{CompiledBinding AltKey,
                                                               Mode=OneTime}"
                                        ToolTip.Tip="{CompiledBinding #MainPanel.((viewModels:MainViewModel)DataContext).Translation.ChangeKeybindingTooltip.Value,
                                                                      Mode=OneWay}"
                                        Width="140" />
                                </StackPanel>
                            </DataTemplate>
                        </ItemsControl.ItemTemplate>
                    </ItemsControl>

                </StackPanel>
            </StackPanel>
        </customControls:AutoScrollViewer>
    </DockPanel>
</UserControl>