<UserControl x:Class="HistoryWallEditTool.ControlsForData.EventCreator"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mui="http://firstfloorsoftware.com/ModernUI"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             Width="382" >
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="5" />
            <RowDefinition Height="95" />
            <RowDefinition Height="640" />
        </Grid.RowDefinitions>
        <Grid Grid.Row="1">
            <Grid.RowDefinitions>
                <RowDefinition Height="50" />
                <RowDefinition Height="45" />
            </Grid.RowDefinitions>
            <Grid Grid.Row="0" >
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="32" />
                    <ColumnDefinition Width="90" />
                    <ColumnDefinition Width="50" />
                    <ColumnDefinition Width="50" />
                    <ColumnDefinition Width="50" />
                    <ColumnDefinition Width="*" />
                </Grid.ColumnDefinitions>
                <TextBlock x:Name="uxSelectLineText" Grid.Column="1" TextWrapping="Wrap" HorizontalAlignment="Left" FontSize="18" VerticalAlignment="Center" ></TextBlock>
                <mui:ModernButton x:Name="uxAddBtn" Grid.Column="2" EllipseDiameter="40" IconHeight="20" IconWidth="20" HorizontalAlignment="Left" ToolTip="{DynamicResource addbtntooltip}" Width="50" Click="uxAddBtn_Click"></mui:ModernButton>
                <mui:ModernButton x:Name="uxDeleteBtn" Grid.Column="3" EllipseDiameter="40" IconHeight="20" IconWidth="20" HorizontalAlignment="Left" ToolTip="{DynamicResource deletebtntooltip}" Width="50" Click="uxDeleteBtn_Click"></mui:ModernButton>
                <mui:ModernButton x:Name="uxUpBtn" Grid.Column="4" EllipseDiameter="40" IconHeight="20"
                                  IconWidth="20" HorizontalAlignment="Left" ToolTip="{DynamicResource moveupbtntooltip}" 
                                  Width="50" Click="uxUpBtn_Click"></mui:ModernButton>
                <mui:ModernButton x:Name="uxDownBtn" Grid.Column="5" EllipseDiameter="40" 
                                  IconHeight="20" IconWidth="20" HorizontalAlignment="Left" 
                                  ToolTip="{DynamicResource movedownbtntooltip}" 
                                  Width="50" Click="uxDownBtn_Click"></mui:ModernButton>
            </Grid>
            <Grid Grid.Row="1">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="32" />
                    <ColumnDefinition Width="*" />
                </Grid.ColumnDefinitions>
                <TextBlock x:Name="uxWarningText" Grid.Column="1" Width="300" HorizontalAlignment="Left" FontSize="16" TextWrapping="Wrap" VerticalAlignment="Center"></TextBlock>
            </Grid>
        </Grid>

        <ListBox x:Name="uxItemListBox" Grid.Row="2" Width="362" HorizontalAlignment="Left"
                    SelectionChanged="uxItemListBox_SelectionChanged"
                    ItemContainerStyle="{StaticResource ListBoxItemChild}">

        </ListBox>
    </Grid>
</UserControl>
