终端一体化运控平台
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

78 lines
5.0 KiB

  1. <UserControl x:Class="BeDesignerSCADA.Controls.MenuRunCanvas"
  2. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4. xmlns:con="clr-namespace:BeDesignerSCADA.Converters"
  5. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  6. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  7. xmlns:controls="clr-namespace:BPASmartClient.SCADAControl.CustomerControls;assembly=BPASmartClient.SCADAControl"
  8. xmlns:local="clr-namespace:BeDesignerSCADA.Controls"
  9. mc:Ignorable="d"
  10. d:DesignHeight="450" d:DesignWidth="800">
  11. <UserControl.Resources>
  12. <ResourceDictionary>
  13. <ResourceDictionary.MergedDictionaries>
  14. <ResourceDictionary Source="/BPASmartClient.SCADAControl;component/Themes/Generic.xaml" />
  15. </ResourceDictionary.MergedDictionaries>
  16. </ResourceDictionary>
  17. </UserControl.Resources>
  18. <Grid>
  19. <Border x:Name="main" >
  20. </Border>
  21. <StackPanel x:Name="waibustack" Cursor="Hand" Orientation="Horizontal" MouseMove="wrapanl_main_MouseMove" MouseLeave="wrapanl_main_MouseLeave" >
  22. <Grid Style="{DynamicResource image矩阵框1}" Margin="0,0,0,0" HorizontalAlignment="Left" VerticalAlignment="Stretch" x:Name="wrapanl_main" >
  23. <TextBlock x:Name="TitleName" FontWeight="Bold" Style="{DynamicResource imageTextBlock}" Padding="10" FontSize="18" TextWrapping="Wrap" MaxWidth="118" HorizontalAlignment="Center" VerticalAlignment="Top" Text="{Binding MenuModel.Name}" FontFamily="{DynamicResource Digital}">
  24. <TextBlock.Foreground>
  25. <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
  26. <GradientStop Color="#FF08A1E0"/>
  27. <GradientStop Color="#FF08A1E0" Offset="0.25"/>
  28. <GradientStop Color="#FF08A1E0" Offset="0.5"/>
  29. <GradientStop Color="#FF7FCEEF" Offset="0.75"/>
  30. <GradientStop Color="#FF08A1E0" Offset="1"/>
  31. </LinearGradientBrush>
  32. </TextBlock.Foreground>
  33. </TextBlock>
  34. <Border x:Name="border0" Margin="0,60,0,0" Style="{DynamicResource borderSplider}"></Border>
  35. <ListBox x:Name="PageList" Margin="0,60,0,100" Padding="10,0,0,0" BorderThickness="0" HorizontalAlignment="Left" VerticalAlignment="Top"
  36. SelectedItem="{Binding MenuModel.SelectPageModels,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}"
  37. ItemsSource="{Binding MenuModel.pageModels,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}"
  38. Background="Transparent"
  39. ItemContainerStyle="{StaticResource ItemContainerStyle1}"
  40. ScrollViewer.VerticalScrollBarVisibility="Auto"
  41. ScrollViewer.HorizontalScrollBarVisibility="Auto"
  42. ItemTemplate="{DynamicResource X_PageBoxStyle}" >
  43. </ListBox>
  44. <Border x:Name="border1" Margin="0,0,0,80" VerticalAlignment="Bottom" Style="{DynamicResource borderSplider}"/>
  45. <StackPanel x:Name="closeGrid" Height="80" Background="Transparent" Margin="0,0,0,0" Width="100" VerticalAlignment="Bottom" HorizontalAlignment="Center">
  46. <controls:DateTimeUI Foreground="#a2c2e8" HorizontalAlignment="Center" Margin="5,5,5,5"></controls:DateTimeUI>
  47. <Border x:Name="border2" Style="{DynamicResource borderSplider}"></Border>
  48. <Button
  49. x:Name="ButClose"
  50. Margin="0,5,0,0"
  51. HorizontalAlignment="Center"
  52. VerticalAlignment="Top"
  53. Content="退出程序"
  54. Cursor="Hand"
  55. Width="90"
  56. Style="{DynamicResource CommonBtn_返回}"
  57. ToolTip="退出程序" />
  58. </StackPanel>
  59. </Grid>
  60. <Border x:Name="lachu" Background="Transparent" Width="30" HorizontalAlignment="Stretch" VerticalAlignment="Top" Margin="0,0,0,25" BorderThickness="1,0,0,0">
  61. <Border.BorderBrush>
  62. <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
  63. <GradientStop Color="Transparent"/>
  64. <GradientStop Color="#FF21B7B7" Offset="0.25"/>
  65. <GradientStop Color="Aqua" Offset="0.5"/>
  66. <GradientStop Color="#FF21B7B7" Offset="0.75"/>
  67. <GradientStop Color="Transparent" Offset="1"/>
  68. </LinearGradientBrush>
  69. </Border.BorderBrush>
  70. <Image x:Name="lachuStyle" Style="{DynamicResource image右1}" Cursor="Hand" Width="70" Height="30"></Image>
  71. </Border>
  72. </StackPanel>
  73. </Grid>
  74. </UserControl>