<UserControl x:Class="Ink_Canvas.Windows.HotkeyItem"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             xmlns:ui="http://schemas.inkore.net/lib/ui/wpf/modern"
             mc:Ignorable="d" 
             d:DesignHeight="60" d:DesignWidth="600">
    
    <Border Background="White" 
            BorderBrush="#E0E0E0" 
            BorderThickness="1" 
            CornerRadius="5" 
            Margin="0,2">
        <Grid Margin="15,10">
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="*"/>
                <ColumnDefinition Width="Auto"/>
                <ColumnDefinition Width="Auto"/>
            </Grid.ColumnDefinitions>

            <!-- 左侧信息 -->
            <ui:SimpleStackPanel Grid.Column="0" VerticalAlignment="Center">
                <TextBlock x:Name="TitleTextBlock" 
                           Text="快捷键标题" 
                           FontSize="14" 
                           FontWeight="SemiBold" 
                           Foreground="#333333"/>
                <TextBlock x:Name="DescriptionTextBlock" 
                           Text="快捷键描述" 
                           FontSize="12" 
                           Foreground="#666666" 
                           Margin="0,2,0,0"/>
            </ui:SimpleStackPanel>

            <!-- 当前快捷键显示 -->
            <Border Grid.Column="1" 
                    Background="#F5F5F5" 
                    BorderBrush="#D0D0D0" 
                    BorderThickness="1" 
                    CornerRadius="3" 
                    Margin="10,0,0,0" 
                    Padding="8,4">
                <TextBlock x:Name="CurrentHotkeyTextBlock" 
                           Text="未设置" 
                           FontSize="12" 
                           Foreground="#666666" 
                           MinWidth="80" 
                           TextAlignment="Center"/>
            </Border>

            <!-- 设置按钮 -->
            <Button x:Name="BtnSetHotkey" 
                    Grid.Column="2" 
                    Content="设置" 
                    Width="60" 
                    Height="28" 
                    Background="#0066BF" 
                    Foreground="White" 
                    FontSize="12" 
                    Margin="10,0,0,0"
                    Click="BtnSetHotkey_Click"/>
        </Grid>
    </Border>
</UserControl> 