<UserControl x:Class="HistoryWallEditTool.ControlsForData.UserEventItem"
             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" 
             Height="70" >
    <UserControl.Resources>
        <Style x:Key="TextBlockStyle" TargetType="{x:Type TextBlock}">
            <Style.Triggers>
                <Trigger Property="IsEnabled" Value="False">
                    <Setter Property="Foreground" Value="Black"></Setter>
                </Trigger>
                <Trigger Property="IsEnabled" Value="True">
                    <Setter Property="Foreground" Value="White"></Setter>
                </Trigger>
            </Style.Triggers>
        </Style>
    </UserControl.Resources>
    <Grid>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="22" />
            <ColumnDefinition Width="20" />
            <ColumnDefinition Width="270" />
            <ColumnDefinition Width="*" />
        </Grid.ColumnDefinitions>

        <Grid Width="22" Grid.Column="0">
            <TextBlock x:Name="uxOverLengthSign" Opacity="0" Text="！" FontSize="20" Foreground="Red" 
                       HorizontalAlignment="Center" 
                       VerticalAlignment="Center"></TextBlock>
        </Grid>

        <Grid Width="20" Grid.Column="1">
            <TextBlock x:Name="uxNumber" FontSize="20" HorizontalAlignment="Center"  
                       VerticalAlignment="Center"></TextBlock>
        </Grid>

        <Grid x:Name="uxMainControl" Width="270" Grid.Column="2" MouseDown="Grid_MouseDown" 
              MouseUp="Grid_MouseUp" >
        </Grid>
    </Grid>
</UserControl>
