client/src/Iri.Modernisation.Controls/View/ProductionEditor/ProductionEditor.xaml
author totetm <>
Fri, 12 Feb 2010 16:22:57 +0100
changeset 47 9b26023b8c83
parent 35 43bb1b8ed555
permissions -rw-r--r--
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:Converter="clr-namespace:Iri.Modernisation.Controls.Converter"
	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"
    mc:Ignorable="d">
    <UserControl.Resources>
        <Converter:BoolToVisibility x:Key="BoolToVisibility"/>
        
        
    </UserControl.Resources>
    <StackPanel x:Name="ProductionViewerPanel">
        <StackPanel x:Name="ProductionViewerControlPanel" Height="29" Orientation="Horizontal">
            
            <ToggleButton IsChecked="{Binding IsRecordMode, Mode=TwoWay}" x:Name="ProductionViewerDisplayWebcamButton"  Width="75" Content="Webcam"/>
        </StackPanel>
	<View:WebCamControl  Visibility="{Binding IsRecordMode, Converter={StaticResource BoolToVisibility}}"/>
    	<View:VideoViewer  x:Name="VideoViewerElement" DataContext="{Binding ViewModelVideoViewer}" Margin="0"  Height="227" Width="Auto" d:LayoutOverrides="Height, VerticalMargin"/>
        <StackPanel  x:Name="DescriptionSegmentPanel" Height="128">
            <TextBox  IsEnabled="{Binding IsEditableIndex}" x:Name="TitleSegmentLabel" Text="{Binding SelectedIndexTitle, Mode=TwoWay}" TextWrapping="Wrap" Height="24" Margin="0,0,8,0"/>
            <TextBox  IsEnabled="{Binding IsEditableIndex}" x:Name="DescriptionSegmentLabel"  Text="{Binding SelectedIndexDescription, Mode=TwoWay}" TextWrapping="Wrap" Height="64" AcceptsReturn="True" VerticalScrollBarVisibility="Visible"/>
            <TextBox  IsEnabled="{Binding IsEditableIndex}" x:Name="KeyWordLabel" Text="{Binding SelectedIndexTags, Mode=TwoWay}" TextWrapping="Wrap" Height="24" Margin="0,0,8,0"/>
        </StackPanel>
    </StackPanel>
</UserControl>