<UserControl xmlns="https://github.com/avaloniaui"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
             xmlns:dialogs="clr-namespace:GalaxyBudsClient.Interface.ViewModels.Dialogs"
             xmlns:i18N="clr-namespace:GalaxyBudsClient.Generated.I18N"
             xmlns:ext="clr-namespace:GalaxyBudsClient.Interface.MarkupExtensions"
             mc:Ignorable="d"
             Padding="0, 10"
             x:CompileBindings="True"
             x:DataType="dialogs:HotkeyRecorderDialogViewModel"
             x:Class="GalaxyBudsClient.Interface.Dialogs.HotkeyRecorderDialog">

    <Design.DataContext>
        <dialogs:HotkeyRecorderDialogViewModel />
    </Design.DataContext>

    <StackPanel MinWidth="400" Spacing="8">
        <Border Classes="Card"
                Padding="5">
            <TextBlock TextWrapping="Wrap"
                       Text="{Binding HotkeyPreview}" />
        </Border>

        <TextBlock TextWrapping="Wrap"
                   IsVisible="{OnPlatform Default=False, Windows=True}"
                   Text="{ext:Translate {x:Static i18N:Keys.HotrecNote}}" />

    </StackPanel>
</UserControl>