MarkDetailUserControl.xaml 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. <UserControl x:Class="ivf_tl_Manage.UserControls.MarkDetailUserControl"
  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_Manage.UserControls"
  7. xmlns:customControl="clr-namespace:ivf_tl_CustomControls;assembly=ivf_tl_CustomControls_PC"
  8. mc:Ignorable="d"
  9. FontFamily="{StaticResource sourceHan}"
  10. FocusVisualStyle="{x:Null}"
  11. Width="453" Height="952"
  12. x:Name="_MarkDetailUserControl">
  13. <Grid Width="453" Height="952">
  14. <Grid.RowDefinitions>
  15. <RowDefinition Height="76"/>
  16. <RowDefinition Height="769"/>
  17. <RowDefinition Height="107"/>
  18. </Grid.RowDefinitions>
  19. <Canvas Height="76" Grid.Row="0" >
  20. <Canvas.Background>
  21. <ImageBrush ImageSource="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/MarkDetailTopBackground.png"/>
  22. </Canvas.Background>
  23. <Grid Canvas.Left="40" Canvas.Top="34" >
  24. <TextBlock Margin="2 0 2 0" Height="35" Text="{Binding ElementName=_MarkDetailUserControl,Path=MarkSource.name}" FontWeight="Medium" FontSize="24"/>
  25. <Rectangle Height="2" Fill="#4D75AC" Margin="0 40 0 0" VerticalAlignment="Bottom" RadiusX="1" RadiusY="1"/>
  26. </Grid>
  27. <customControl:ButtonImage Visibility="Hidden" Canvas.Left="397" Canvas.Top="40" Width="18" Height="18" Click="Cancel_Click"
  28. IconSource="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/CloseGrayIcon.png"/>
  29. </Canvas>
  30. <Canvas Grid.Row="1" Width="453" Height="769" >
  31. <Canvas.Background>
  32. <ImageBrush ImageSource="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/MarkDetailCenterBackground.png"/>
  33. </Canvas.Background>
  34. <ScrollViewer Canvas.Top="20" Canvas.Left="20" Width="413" Height="749" PanningMode="Both" FocusVisualStyle="{x:Null}"
  35. HorizontalScrollBarVisibility="Disabled" ManipulationBoundaryFeedback="ScrollViewer_ManipulationBoundaryFeedback" VerticalScrollBarVisibility="Auto">
  36. <Grid x:Name="_markNewView_Grid">
  37. </Grid>
  38. </ScrollViewer>
  39. </Canvas>
  40. <Canvas Grid.Row="2" Height="107">
  41. <Canvas.Background>
  42. <ImageBrush ImageSource="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/MarkDetailBottomBackground.png"/>
  43. </Canvas.Background>
  44. <customControl:ButtonCornerRadius Visibility="Hidden" Canvas.Left="209" Width="104" Height="56" Click="Cancel_Click" Content="{DynamicResource 0025}" Foreground="#717171" FontSize="14" MarginMask="10">
  45. <customControl:ButtonCornerRadius.Background>
  46. <ImageBrush ImageSource="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/CancelButtonIcon1.png"/>
  47. </customControl:ButtonCornerRadius.Background>
  48. </customControl:ButtonCornerRadius>
  49. <!--<customControl:ButtonImage Canvas.Left="209" Width="104" Height="56" Click="Cancel_Click" Visibility="Hidden"
  50. IconSource="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/CancelButtonIcon.png"/>-->
  51. <customControl:ButtonCornerRadius Canvas.Left="317" Width="104" Height="56" Click="Ok_Click" Content="{DynamicResource 0024}" FontSize="14" MarginMask="10">
  52. <customControl:ButtonCornerRadius.Background>
  53. <ImageBrush ImageSource="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/OkButtonIcon1.png"/>
  54. </customControl:ButtonCornerRadius.Background>
  55. </customControl:ButtonCornerRadius>
  56. <!--<customControl:ButtonImage Canvas.Left="317" Width="104" Height="56" Click="Ok_Click" IconSource="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/OkButtonIcon.png" MouseOverIconSource="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/OkButtonMouseOverIcon.png"/>-->
  57. </Canvas>
  58. </Grid>
  59. </UserControl>