StateInfo.xaml 1.5 KB

12345678910111213141516171819202122232425262728
  1. <UserControl x:Class="NEIntelligentControl2.Views.Infos.StateInfo"
  2. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  5. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  6. xmlns:local="clr-namespace:NEIntelligentControl2.Views.Infos"
  7. mc:Ignorable="d"
  8. d:DesignHeight="450" d:DesignWidth="800" MinHeight="45" MaxHeight="45" Margin="3">
  9. <Grid MouseLeftButtonDown="Grid_MouseLeftButtonDown" MouseMove="Grid_MouseMove" Background="#01FFFFFF" MouseLeave="Grid_MouseLeave" MouseLeftButtonUp="Grid_MouseLeftButtonUp">
  10. <Grid.RowDefinitions>
  11. <RowDefinition/>
  12. <RowDefinition Height="Auto"/>
  13. </Grid.RowDefinitions>
  14. <TextBlock Grid.Row="1" x:Name="_tb" HorizontalAlignment="Right" VerticalAlignment="Top" Margin="0,0,5,0"/>
  15. <Grid>
  16. <Grid.ColumnDefinitions>
  17. <ColumnDefinition Width="Auto"/>
  18. <ColumnDefinition/>
  19. </Grid.ColumnDefinitions>
  20. <TextBlock x:Name="_tbtitle" Margin="3,0" VerticalAlignment="Center" Visibility="Collapsed"/>
  21. <StackPanel x:Name="_sp" Grid.Column="1" Orientation="Horizontal" Height="20"/>
  22. </Grid>
  23. <Rectangle x:Name="_RTMain" Fill="#7F6A6A6A" Visibility="Collapsed" Stroke="#FF6A6A6A" Grid.RowSpan="10"/>
  24. </Grid>
  25. </UserControl>