client/src/Iri.Modernisation.Controls/View/ConsultationBookView/ConsultationBookView.xaml
Fixed| bug si on ferme un livre en le lisant
ReFixed|faire fonctionner le seek, même quand play n'est pas activer
<UserControl
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d"
xmlns:View="clr-namespace:Iri.Modernisation.Controls.View"
xmlns:Converter="clr-namespace:Iri.Modernisation.Controls.Converter"
x:Class="Iri.Modernisation.Controls.View.ConsultationBookView" d:DesignHeight="536" Width="232">
<UserControl.Resources>
<Converter:BoolToVisibility x:Key="BoolToVisibility"></Converter:BoolToVisibility>
</UserControl.Resources>
<StackPanel x:Name="ConsultationBookViewPanel">
<TextBlock x:Name="BookTitleLabel" Text="{Binding Title}" TextWrapping="Wrap" d:LayoutOverrides="Width"/>
<View:VideoViewer DataContext="{Binding ActualVideoSourceVM}" x:Name="VideoViewer" HorizontalAlignment="Left" Width="224"/>
<StackPanel x:Name="SegmentInfoPanel" Margin="0,0,8,0">
<TextBlock x:Name="SegmentTitleLabel" TextWrapping="Wrap" Text="{Binding SelectedIndexTitle}"></TextBlock>
<ScrollViewer x:Name="SegmentDescriptionScroller" Height="73" >
<TextBlock Text="{Binding SelectedIndexDescription}" x:Name="SegmentDescriptionLabel" TextWrapping="Wrap" Height="65"><Run Text="Description"/><Run Text=" Segment"/></TextBlock>
</ScrollViewer>
<TextBlock x:Name="SegmentKeywordLabel" TextWrapping="Wrap" Text="{Binding SelectedIndexTags,Mode=TwoWay}"></TextBlock>
</StackPanel>
<StackPanel x:Name="DisplayControlPanel" Height="28" Orientation="Horizontal">
<ToggleButton x:Name="DisplayAnnotationButton" Content="Display" IsChecked="True"/>
</StackPanel>
<ListBox Visibility="{Binding IsChecked, Converter={StaticResource BoolToVisibility}, ElementName=DisplayAnnotationButton, Mode=OneWay}" x:Name="AnnotationList" Height="371" ItemsSource="{Binding SelectedIndexAnnotation,Mode=TwoWay}">
<ListBox.ItemTemplate>
<DataTemplate>
<View:AnnotationViewer></View:AnnotationViewer>
</DataTemplate>
</ListBox.ItemTemplate>
<!--<Ctrl:AnnotationViewer d:IsPrototypingComposition="True" HorizontalAlignment="Right" Width="306" Height="309" Margin="0,0,1,0"/>-->
</ListBox>
</StackPanel>
</UserControl>