client/src/Iri.Modernisation.Controls/View/ProductionView/ProductionView.xaml
author totetm <>
Wed, 10 Feb 2010 14:56:46 +0100
changeset 41 b51a10574e7f
parent 35 43bb1b8ed555
permissions -rw-r--r--
LeftClick on an element in BookTimeLine set time at begining of the element.

<UserControl
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
    xmlns:View="clr-namespace:Iri.Modernisation.Controls.View"
    xmlns:Lang="clr-namespace:Iri.Modernisation.Lang;assembly=Iri.Modernisation.Lang"
	xmlns:Input="clr-namespace:SLExtensions.Input;assembly=SLExtensions" 
   
	xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" x:Class="Iri.Modernisation.Controls.View.ProductionView" mc:Ignorable="d" Height="688">
    <UserControl.Resources>
	 <Lang:LangResource x:Name="LangLabels" x:Key="LangLabels"></Lang:LangResource>
           
	</UserControl.Resources>
	<Grid x:Name="LayoutRoot">

    	<View:HeaderProduction DataContext="{Binding ViewModelHeaderProduction}" x:Name="HeaderProductionElement" HorizontalAlignment="Left" VerticalAlignment="Top" d:LayoutOverrides="VerticalAlignment"/>
    	<View:ProductionTimeLine x:Name="ProductionTimeLineElement" Height="176" VerticalAlignment="Bottom" DataContext="{Binding ViewModelProductionTimeLine}"/>
    	<View:ProductionEditor DataContext="{Binding ViewModelProductionEditor}" Margin="260,127,409,180" Height="381" d:LayoutOverrides="HorizontalAlignment"/>
    	<View:VideoViewer DataContext="{Binding ViewModelMasterVideoViewer}" Margin="0,144,20,201" Height="343" HorizontalAlignment="Right" Width="385"/>
    	<StackPanel x:Name="RecordsPanel" HorizontalAlignment="Left" Margin="8,288,0,192" Width="248">
    		<TextBlock Style="{StaticResource CommonTextBlock}" Text="{Binding RecordsLabel, Source={StaticResource LangLabels}}" x:Name="RecordLabel" TextWrapping="Wrap"/>
    		<ListBox SelectedItem="{Binding SelectedVideoSequence,Mode=TwoWay}" x:Name="RecordsList" ItemsSource="{Binding RecordedVideoSequences}" Height="152">
				<ListBox.ItemTemplate>
					<DataTemplate>
						<StackPanel Orientation="Horizontal">
							<TextBlock Text="{Binding Path}"/><TextBlock Text="-"/><TextBlock Text="{Binding RunTime}"/>
						</StackPanel>
					</DataTemplate>
				</ListBox.ItemTemplate>
			</ListBox>
			<Button Content="+ (Enregistrement)" x:Name="AddSelectedRecord" Input:CommandService.Command="ClickAddSelectedRecord"></Button>
    		<Button Content="+ (Index)" x:Name="AddIndex" Input:CommandService.Command="ClickAddIndex"></Button>
		</StackPanel>

    </Grid>
</UserControl>