| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384 |
- <UserControl x:Class="ivf_tl_Manage.Views.MarkDetail1"
- 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:ivf_tl_Manage.Views"
- mc:Ignorable="d"
- xmlns:usercontrols="clr-namespace:ivf_tl_Manage.UserControls"
- FontFamily="{StaticResource sourceHan}"
- Width="1830" Height="1015">
- <UserControl.Background>
- <ImageBrush ImageSource="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/markdetail1_Bg.png" ></ImageBrush>
- </UserControl.Background>
- <Canvas x:Name="Canvas_Root">
- <!--<StackPanel Canvas.Left="40" Canvas.Top="36" Background="Transparent" Orientation="Horizontal"
- Visibility="{Binding IsDishRecord,Converter={StaticResource BoolToVisibilityConvert}}">
- <Button Style="{StaticResource ButtonStyle1}" BorderThickness="0" Background="Transparent" FontSize="28" Content="{DynamicResource 0001}" Click="Button_Click" FontWeight="Bold" ></Button>
- <TextBlock VerticalAlignment="Center" FontSize="28" Margin="8,0,0,0" Foreground="#9B9B9B" Text=">" FontWeight="Bold" ></TextBlock>
- <Button Style="{StaticResource ButtonStyle1}" BorderThickness="0" Background="Transparent" FontSize="28" Margin="8,0,0,0" Content="{DynamicResource 0149}" Click="Button_Click_patient" FontWeight="Bold" ></Button>
- <TextBlock VerticalAlignment="Center" FontSize="28" Margin="8,0,0,0" Foreground="#9B9B9B" Text=">" FontWeight="Bold" ></TextBlock>
- <Button Style="{StaticResource ButtonStyle1}" BorderThickness="0" Background="Transparent" FontSize="28" Margin="8,0,0,0" Content="{Binding Title}" Click="Button_Click_Detail" FontWeight="Bold" ></Button>
- <TextBlock VerticalAlignment="Center" FontSize="28" Margin="8,0,0,0" Foreground="#9B9B9B" Text=">" FontWeight="Bold" ></TextBlock>
- <Button Style="{StaticResource ButtonStyle1}" BorderThickness="0" Background="Transparent" FontSize="28" Margin="8,0,0,0" Content="{DynamicResource 0162}" Click="Button_Click_Mark_Detail" FontWeight="Bold" ></Button>
- <TextBlock VerticalAlignment="Center" FontSize="28" Margin="8,0,0,0" Foreground="#9B9B9B" Text=">" FontWeight="Bold" ></TextBlock>
- <TextBlock Margin="8 0 0 0" FontWeight="Bold" Foreground="Black" FontSize="32" Text="{DynamicResource 0168}"/>
- </StackPanel>
- <StackPanel Canvas.Left="40" Canvas.Top="36" Background="Transparent" Orientation="Horizontal"
- Visibility="{Binding IsDishRecord,Converter={StaticResource BooleanToVisibilityConverter}}">
- <Button Style="{StaticResource ButtonStyle1}" BorderThickness="0" Background="Transparent" FontSize="28" Content="{DynamicResource 0002}" Click="RecordButton_Click_patient" FontWeight="Bold" ></Button>
- <TextBlock VerticalAlignment="Center" FontSize="28" Margin="8,0,0,0" Foreground="#9B9B9B" Text=">" FontWeight="Bold" ></TextBlock>
- <Button Style="{StaticResource ButtonStyle1}" BorderThickness="0" Background="Transparent" FontSize="28" Margin="8,0,0,0" Content="{Binding Title}" Click="RecordButton_Click_Detail" FontWeight="Bold" ></Button>
- <TextBlock VerticalAlignment="Center" FontSize="28" Margin="8,0,0,0" Foreground="#9B9B9B" Text=">" FontWeight="Bold" ></TextBlock>
- <Button Style="{StaticResource ButtonStyle1}" BorderThickness="0" Background="Transparent" FontSize="28" Margin="8,0,0,0" Content="{DynamicResource 0162}" Click="RecordButton_Click_Mark_Detail" FontWeight="Bold" ></Button>
- <TextBlock VerticalAlignment="Center" FontSize="28" Margin="8,0,0,0" Foreground="#9B9B9B" Text=">" FontWeight="Bold" ></TextBlock>
- <TextBlock Margin="8 0 0 0" FontWeight="Bold" Foreground="Black" FontSize="32" Text="{DynamicResource 0168}"/>
- </StackPanel>-->
- <StackPanel x:Name="_nav_StackPanel" Canvas.Left="40" Canvas.Top="36" Background="Transparent" Orientation="Horizontal"/>
- <StackPanel Canvas.Left="670" Canvas.Top="310" Visibility="{Binding ElementName=ListView_Mark,Path=HasItems,Converter={StaticResource BoolToVisibilityConvert}}">
- <Image Width="490" Height="360" Source="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/NoDataBackground.png" />
- <TextBlock FontWeight="Medium" Foreground="#9B9B9B" FontSize="30" Text="{DynamicResource 0205}" HorizontalAlignment="Center" VerticalAlignment="Center"/>
- </StackPanel>
- <Canvas Visibility="Hidden" Panel.ZIndex="2" x:Name="Canvas_BigImage" Canvas.Left="1110" Canvas.Top="97" Width="600" Height="600" >
- <Image x:Name="Image_Big" Width="600" Height="600" >
- <Image.Clip>
- <RectangleGeometry Rect="0,0,600,600" RadiusX="14" RadiusY="14"/>
- </Image.Clip>
- </Image>
- </Canvas>
- <TextBlock Visibility="Collapsed" x:Name="TextBlock_BlastocystLevel" Text="{Binding BlastocystLevel}"/>
- <ScrollViewer Canvas.Top="85" Canvas.Left="40" Width="1750" Height="930" x:Name="_scrollview" PreviewMouseWheel="ListView_PreviewMouseWheel"
- ManipulationBoundaryFeedback="_scrollview_ManipulationBoundaryFeedback">
- <ListView x:Name="ListView_Mark" ItemsSource="{Binding Marks}" AlternationCount="2" BorderThickness="0" FocusVisualStyle="{x:Null}" Background="Transparent" >
- <ListView.ItemContainerStyle>
- <Style TargetType="{x:Type ListViewItem}">
- <Setter Property="HorizontalAlignment" Value="Center"/>
- <Setter Property="FocusVisualStyle" Value="{x:Null}"/>
- <Setter Property="HorizontalContentAlignment" Value="Center"/>
- <EventSetter Event="MouseUp" Handler="ListViewItem_MouseUp"/>
- <Setter Property="Template">
- <Setter.Value >
- <ControlTemplate TargetType="{x:Type ListViewItem}">
- <Grid Background="Transparent" >
- <!--<TextBlock x:Name="_markBox" FontSize="40" Text="{Binding Number}"/>-->
- <usercontrols:MarkDetailItem1 BlastocystLevel="{Binding ElementName=TextBlock_BlastocystLevel,Path=Text}" ImageMouseEnterEvent="_markDetailItem_ImageMouseEnterEvent" x:Name="_markDetailItem" EmbryoData="{Binding}" ImageSource="{Binding pictureUrl}" />
- </Grid>
- <ControlTemplate.Triggers>
- <Trigger Property="IsSelected" Value="True">
- <Setter Property="IsSelect" Value="True" TargetName="_markDetailItem"/>
- </Trigger>
- <Trigger Property="IsSelected" Value="False">
- <Setter Property="IsSelect" Value="False" TargetName="_markDetailItem"/>
- </Trigger>
- </ControlTemplate.Triggers>
- </ControlTemplate>
- </Setter.Value>
- </Setter>
- </Style>
- </ListView.ItemContainerStyle>
- </ListView>
- </ScrollViewer>
- </Canvas>
- </UserControl>
|