AlarmPageView.xaml 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. <UserControl x:Class="ivf_tl_Operate.View.AlarmPageView"
  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:ivf_tl_Operate.View"
  7. xmlns:customControl="clr-namespace:ivf_tl_CustomControls;assembly=ivf_tl_CustomControls_Surface"
  8. xmlns:customUserControl="clr-namespace:ivf_tl_Operate.CustomUserControls"
  9. mc:Ignorable="d"
  10. Height="2736" Width="1824">
  11. <Grid>
  12. <Grid.RowDefinitions>
  13. <RowDefinition Height="250"/>
  14. <RowDefinition Height="*"/>
  15. </Grid.RowDefinitions>
  16. <!--顶部信息-->
  17. <Border Grid.Row="0" Background="{StaticResource BannerTopFill}">
  18. <Grid>
  19. <Grid.ColumnDefinitions>
  20. <ColumnDefinition Width="350"/>
  21. <ColumnDefinition Width="1"/>
  22. <ColumnDefinition Width="1"/>
  23. <ColumnDefinition/>
  24. <ColumnDefinition Width="414"/>
  25. </Grid.ColumnDefinitions>
  26. <customControl:ButtonLeftImage Grid.Column="0" Content="{DynamicResource C0044}" Click="Return_Click" Width="350" Height="250" IconWidth="46" IconHeight="46" FontSize="44" FontWeight="Medium" Foreground="#4D75AC" BorderThickness="0" Background="Transparent" IconSource="/ivf_tl_Operate;component/Resources/Image/button_return.png" IconMargin="0 0 10 0"/>
  27. <Border Grid.Column="1" Background="#FFFFFF"/>
  28. <Border Grid.Column="2" Background="#DFE0E4"/>
  29. <StackPanel Grid.Column="3" Orientation="Horizontal">
  30. <Border Grid.Column="3" Width="409" Height="133" Margin="100 0 0 0" MouseUp="Border_MouseUp" >
  31. <Border.Background>
  32. <ImageBrush ImageSource="/ivf_tl_Operate;component/Resources/Image/chart_date.png" Stretch="UniformToFill"/>
  33. </Border.Background>
  34. <TextBlock Text="{Binding LeftDateString}" VerticalAlignment="Center" HorizontalAlignment="Center" FontSize="50" Foreground="Gray"/>
  35. </Border>
  36. <TextBlock Grid.Column="4" Text="-" VerticalAlignment="Center" HorizontalAlignment="Center" Foreground="#B0B4B9" FontSize="44" Margin="20 0 20 0"/>
  37. <Border Grid.Column="5" Width="409" Height="133" MouseUp="Border_MouseUp_GetRightDate" >
  38. <Border.Background>
  39. <ImageBrush ImageSource="/ivf_tl_Operate;component/Resources/Image/chart_date.png" Stretch="UniformToFill"/>
  40. </Border.Background>
  41. <TextBlock Text="{Binding RightDateString}" VerticalAlignment="Center" HorizontalAlignment="Center" FontSize="50" Foreground="Gray"/>
  42. </Border>
  43. </StackPanel>
  44. <customControl:ButtonLeftImage TextWrap="Wrap" x:Name="Button_His" Grid.Column="4" FocusVisualStyle="{x:Null}" Content="{DynamicResource C0156}" Click="ButtonImage_Click" Tag="false" Width="350" Height="250" IconWidth="46" IconHeight="46" FontSize="44" FontWeight="Medium" Foreground="#4D75AC" BorderThickness="0" Background="Transparent" IconSource="/ivf_tl_Operate;component/Resources/Image/AlarmHistroyIcon.png" IconMargin="0 0 20 0"/>
  45. <!--<customUserControl:ButtonImage x:Name="_his_ButtonImage" Grid.Column="4" Click="ButtonImage_Click" Tag="false" IconSource="/ivf_tl_Operate;component/Resources/Image/AlarmHistroyIcon.png" IconWidth="46" IconHeight="46" Content="历史记录" FontSize="44" Foreground="#4D75AC" BorderThickness="0" Height="80" IconMargin="0 0 20 0" Background="Transparent"/>-->
  46. </Grid>
  47. </Border>
  48. <Grid Grid.Row="1" >
  49. <Grid.RowDefinitions>
  50. <RowDefinition/>
  51. <RowDefinition Height="auto"/>
  52. </Grid.RowDefinitions>
  53. <!--列表-->
  54. <StackPanel Orientation="Vertical" x:Name="_container" Width="{Binding ElementName=_scrollViewer, Path=Width, Mode=OneWay}"/>
  55. <customUserControl:CustomControlPagination Grid.Row="1" PageChangedEvent="CustomControlPagination_PageChangedEvent" Width="1824" Height="236" CountNum="{Binding DataCount}" PageNum="{Binding PageSize}"/>
  56. </Grid>
  57. </Grid>
  58. </UserControl>