<UserControl x:Class="NEIntelligentControl2.Views.Infos.StateInfo"
             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:local="clr-namespace:NEIntelligentControl2.Views.Infos"
             mc:Ignorable="d" 
             d:DesignHeight="450" d:DesignWidth="800" MinHeight="45" MaxHeight="45" Margin="3">
    <Grid MouseLeftButtonDown="Grid_MouseLeftButtonDown" MouseMove="Grid_MouseMove" Background="#01FFFFFF" MouseLeave="Grid_MouseLeave" MouseLeftButtonUp="Grid_MouseLeftButtonUp">
        <Grid.RowDefinitions>
            <RowDefinition/>
            <RowDefinition Height="Auto"/>
        </Grid.RowDefinitions>

        <TextBlock Grid.Row="1" x:Name="_tb" HorizontalAlignment="Right" VerticalAlignment="Top" Margin="0,0,5,0"/>

        <Grid>
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="Auto"/>
                <ColumnDefinition/>
            </Grid.ColumnDefinitions>
            <TextBlock x:Name="_tbtitle" Margin="3,0" VerticalAlignment="Center" Visibility="Collapsed"/>
            <StackPanel x:Name="_sp"  Grid.Column="1" Orientation="Horizontal" Height="20"/>
        </Grid>
        
        <Rectangle x:Name="_RTMain"  Fill="#7F6A6A6A" Visibility="Collapsed" Stroke="#FF6A6A6A" Grid.RowSpan="10"/>
    </Grid>
</UserControl>
