client/src/Iri.Modernisation.Controls/View/ProductionEditor/ProductionEditor.xaml
author totetm <>
Thu, 14 Jan 2010 16:39:50 +0100
changeset 30 644e3cd48034
parent 29 5f8d275750e7
child 35 43bb1b8ed555
permissions -rw-r--r--
Introduce in Web context
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
29
5f8d275750e7 After SL4 Convertion
totetm <>
parents: 23
diff changeset
     1
<UserControl
14
a48c44bc825b Add Controls in ProductionView
Matthieu Totet
parents:
diff changeset
     2
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
a48c44bc825b Add Controls in ProductionView
Matthieu Totet
parents:
diff changeset
     3
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
29
5f8d275750e7 After SL4 Convertion
totetm <>
parents: 23
diff changeset
     4
	xmlns:Converter="clr-namespace:Iri.Modernisation.Controls.Converter"
5f8d275750e7 After SL4 Convertion
totetm <>
parents: 23
diff changeset
     5
	xmlns:View="clr-namespace:Iri.Modernisation.Controls.View" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" x:Class="Iri.Modernisation.Controls.View.ProductionEditor"
5f8d275750e7 After SL4 Convertion
totetm <>
parents: 23
diff changeset
     6
    mc:Ignorable="d">
5f8d275750e7 After SL4 Convertion
totetm <>
parents: 23
diff changeset
     7
    <UserControl.Resources>
5f8d275750e7 After SL4 Convertion
totetm <>
parents: 23
diff changeset
     8
        <Converter:BoolToVisibility x:Key="BoolToVisibility"/>
5f8d275750e7 After SL4 Convertion
totetm <>
parents: 23
diff changeset
     9
        
5f8d275750e7 After SL4 Convertion
totetm <>
parents: 23
diff changeset
    10
        
5f8d275750e7 After SL4 Convertion
totetm <>
parents: 23
diff changeset
    11
    </UserControl.Resources>
14
a48c44bc825b Add Controls in ProductionView
Matthieu Totet
parents:
diff changeset
    12
    <StackPanel x:Name="ProductionViewerPanel">
a48c44bc825b Add Controls in ProductionView
Matthieu Totet
parents:
diff changeset
    13
        <StackPanel x:Name="ProductionViewerControlPanel" Height="29" Orientation="Horizontal">
23
10acb6a11a73 Update VideoViewer ( Allow Multi-VideoViewer)
Matthieu Totet
parents: 21
diff changeset
    14
            
29
5f8d275750e7 After SL4 Convertion
totetm <>
parents: 23
diff changeset
    15
            <ToggleButton IsChecked="{Binding IsRecordMode, Mode=TwoWay}" x:Name="ProductionViewerDisplayWebcamButton"  Width="75" Content="Webcam"/>
14
a48c44bc825b Add Controls in ProductionView
Matthieu Totet
parents:
diff changeset
    16
        </StackPanel>
29
5f8d275750e7 After SL4 Convertion
totetm <>
parents: 23
diff changeset
    17
	<View:WebCamControl Visibility="{Binding IsRecordMode, Converter={StaticResource BoolToVisibility}}"/>
5f8d275750e7 After SL4 Convertion
totetm <>
parents: 23
diff changeset
    18
    	<View:VideoViewer  x:Name="VideoViewerElement" DataContext="{Binding ViewModelVideoViewer}" Margin="0"  Height="227" Width="Auto" d:LayoutOverrides="Height, VerticalMargin"/>
5f8d275750e7 After SL4 Convertion
totetm <>
parents: 23
diff changeset
    19
        <StackPanel  x:Name="DescriptionSegmentPanel" Height="128">
5f8d275750e7 After SL4 Convertion
totetm <>
parents: 23
diff changeset
    20
            <TextBox  IsEnabled="{Binding IsEditableIndex}" x:Name="TitleSegmentLabel" Text="{Binding SelectedIndexTitle, Mode=TwoWay}" TextWrapping="Wrap" Height="24" Margin="0,0,8,0"/>
5f8d275750e7 After SL4 Convertion
totetm <>
parents: 23
diff changeset
    21
            <TextBox  IsEnabled="{Binding IsEditableIndex}" x:Name="DescriptionSegmentLabel"  Text="{Binding SelectedIndexDescription, Mode=TwoWay}" TextWrapping="Wrap" Height="64" AcceptsReturn="True" VerticalScrollBarVisibility="Visible"/>
5f8d275750e7 After SL4 Convertion
totetm <>
parents: 23
diff changeset
    22
            <TextBox  IsEnabled="{Binding IsEditableIndex}" x:Name="KeyWordLabel" Text="{Binding SelectedIndexTags, Mode=TwoWay}" TextWrapping="Wrap" Height="24" Margin="0,0,8,0"/>
14
a48c44bc825b Add Controls in ProductionView
Matthieu Totet
parents:
diff changeset
    23
        </StackPanel>
a48c44bc825b Add Controls in ProductionView
Matthieu Totet
parents:
diff changeset
    24
    </StackPanel>
a48c44bc825b Add Controls in ProductionView
Matthieu Totet
parents:
diff changeset
    25
</UserControl>