client/src/Iri.Modernisation.Controls/View/ConsultationBookView/AnnotationViewer.xaml
author totetm <>
Thu, 04 Feb 2010 16:38:04 +0100
changeset 38 bd33267300aa
parent 28 2d4ec5ab2a40
permissions -rw-r--r--
- FranceCulture Project - Ldt and Iri Parse Method - Bug MenuableUserControl

<View:MenuableUserControl
	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"
	x:Class="Iri.Modernisation.Controls.View.AnnotationViewer"
    xmlns:Converter="clr-namespace:Iri.Modernisation.Controls.Converter"
	xmlns:View="clr-namespace:Iri.Modernisation.Controls.View" Width="352" Background="Transparent">
<View:MenuableUserControl.Resources>
        <View:ArrayToString x:Key="ArrayToString"></View:ArrayToString>
        <Converter:PolemicTypeColorConverter x:Key="PTCC"></Converter:PolemicTypeColorConverter>
    </View:MenuableUserControl.Resources>
	<Grid x:Name="AnnotationViewerPanel">
		<Grid x:Name="AnnotationViewerDisplay" HorizontalAlignment="Left" Margin="0,8" Width="191" Canvas.ZIndex="5">
			<TextBlock x:Name="AnnotationViewerTitle"  TextWrapping="Wrap" Text="{Binding Title}" VerticalAlignment="Top" Height="16" Margin="20,0,0,0"/>
			<TextBlock x:Name="AnnotationViewerDescription"  Text="{Binding Description}" TextWrapping="Wrap" Margin="12,16,0,24" d:LayoutOverrides="Height"/>
			
			<TextBlock x:Name="AnnotationViewerContributer"  Text="{Binding Contributer.UserName}" TextWrapping="Wrap" TextAlignment="Right" FontSize="10.667" Margin="16,0,0,12" VerticalAlignment="Bottom"/>
			<StackPanel Orientation="Horizontal" Height="16" Margin="12,0,4,-4" VerticalAlignment="Bottom">
				<TextBlock Text="Tags:" Height="16" VerticalAlignment="Top"/>
				<TextBlock x:Name="AnnotationViewerKeyWords"  Text="{Binding Tags, Converter={StaticResource ArrayToString}}"/>
			</StackPanel>
			<ListBox x:Name="CommentList"  Margin="0,0,0,-8" VerticalAlignment="Bottom"  />
			<Rectangle Fill="{Binding Type}" Stroke="Black" Height="16" HorizontalAlignment="Left" VerticalAlignment="Top" Width="16" RenderTransformOrigin="0,0.5"/>
			<Rectangle Fill="{Binding Type}" Stroke="Black" HorizontalAlignment="Left" Margin="0,16,0,0" Width="8"/>
		</Grid>
		
        <!-- <View:VideoViewer x:Name="VideoViewer" d:IsPrototypingComposition="True" Margin="191,4,0,0" HorizontalAlignment="Left" Width="161" VerticalAlignment="Top"/> -->
	
        </Grid>
</View:MenuableUserControl>