<UserControl
    x:Class="Microsoft.PowerToys.Settings.UI.Controls.HotkeySettingsControl"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:Microsoft.PowerToys.Settings.UI.Controls"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
    AutomationProperties.Name="{x:Bind Header, Mode=OneTime}"
    d:DesignHeight="300"
    d:DesignWidth="400">
    <TextBox x:Name="HotkeyTextBox"
             x:Uid="SettingsPage_SetShortcut"
             AutomationProperties.HelpText="{Binding ElementName=ShortcutWarningLabelText, Path=Text}"
             IsReadOnly="True">
        <ToolTipService.ToolTip>
            <TextBlock x:Name="ShortcutWarningLabelText">
                <Run x:Uid="ShortcutWarningLabel"/>
                <LineBreak/>
                <Run Text="{x:Bind Keys, Mode=OneTime}" FontWeight="SemiBold"/>
            </TextBlock>
        </ToolTipService.ToolTip>
        <TextBox.Header>
            <TextBlock>
                    <Run Text="{x:Bind Header, Mode=OneTime}"/>
                    <Run Text="&#xE946;" FontFamily="Segoe MDL2 Assets"/>
            </TextBlock>
        </TextBox.Header>
    </TextBox>
</UserControl>