1 <UserControl |
1 <UserControl |
2 xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" |
2 xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" |
3 xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
3 xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
4 xmlns:View="clr-namespace:Iri.Modernisation.Controls.View" |
4 xmlns:View="clr-namespace:Iri.Modernisation.Controls.View" |
5 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"> |
5 xmlns:Lang="clr-namespace:Iri.Modernisation.Lang;assembly=Iri.Modernisation.Lang" |
6 <Grid x:Name="LayoutRoot"> |
6 xmlns:Input="clr-namespace:SLExtensions.Input;assembly=SLExtensions" |
|
7 |
|
8 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"> |
|
9 <UserControl.Resources> |
|
10 <Lang:LangResource x:Name="LangLabels" x:Key="LangLabels"></Lang:LangResource> |
|
11 |
|
12 </UserControl.Resources> |
|
13 <Grid x:Name="LayoutRoot"> |
7 |
14 |
8 <View:HeaderProduction DataContext="{Binding ViewModelHeaderProduction}" x:Name="HeaderProductionElement" HorizontalAlignment="Left" VerticalAlignment="Top" d:LayoutOverrides="VerticalAlignment"/> |
15 <View:HeaderProduction DataContext="{Binding ViewModelHeaderProduction}" x:Name="HeaderProductionElement" HorizontalAlignment="Left" VerticalAlignment="Top" d:LayoutOverrides="VerticalAlignment"/> |
9 <View:ProductionTimeLine Height="176" VerticalAlignment="Bottom" DataContext="{Binding ViewModelProductionTimeLine}"/> |
16 <View:ProductionTimeLine x:Name="ProductionTimeLineElement" Height="176" VerticalAlignment="Bottom" DataContext="{Binding ViewModelProductionTimeLine}"/> |
10 <View:ProductionEditor Margin="272,115,0,0" HorizontalAlignment="Left" Height="369" VerticalAlignment="Top"/> |
17 <View:ProductionEditor Margin="272,115,0,0" HorizontalAlignment="Left" Height="369" VerticalAlignment="Top"/> |
11 <View:VideoViewer HorizontalAlignment="Right" Margin="0,115,8,204" Width="404"/> |
18 <View:VideoViewer HorizontalAlignment="Right" Margin="0,115,8,204" Width="404"/> |
12 <StackPanel x:Name="RecordsPanel" HorizontalAlignment="Left" Margin="8,288,0,216" Width="248"> |
19 <StackPanel x:Name="RecordsPanel" HorizontalAlignment="Left" Margin="8,264,0,216" Width="248"> |
13 <TextBlock x:Name="RecordLabel" Text="Records" TextWrapping="Wrap"/> |
20 <TextBlock Style="{StaticResource CommonTextBlock}" Text="{Binding RecordsLabel, Source={StaticResource LangLabels}}" x:Name="RecordLabel" TextWrapping="Wrap"/> |
14 <ListBox x:Name="RecordsList" Height="168"/> |
21 <ListBox SelectedItem="{Binding SelectedVideoSequence,Mode=TwoWay}" x:Name="RecordsList" ItemsSource="{Binding RecordedVideoSequences}" Height="168"> |
|
22 <ListBox.ItemTemplate> |
|
23 <DataTemplate> |
|
24 <StackPanel Orientation="Horizontal"> |
|
25 <TextBlock Text="{Binding Path}"/><TextBlock Text="-"/><TextBlock Text="{Binding RunTime}"/> |
|
26 </StackPanel> |
|
27 </DataTemplate> |
|
28 </ListBox.ItemTemplate> |
|
29 </ListBox> |
|
30 <Button Content="+" x:Name="AddSelectedRecord" Input:CommandService.Command="ClickAddSelectedRecord"></Button> |
15 </StackPanel> |
31 </StackPanel> |
16 |
32 |
17 </Grid> |
33 </Grid> |
18 </UserControl> |
34 </UserControl> |