client/src/Iri.Modernisation.Controls/View/ConsultationBookView/AnnotationViewer.xaml
changeset 0 249d70e7b32d
child 28 2d4ec5ab2a40
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/client/src/Iri.Modernisation.Controls/View/ConsultationBookView/AnnotationViewer.xaml	Wed Nov 18 15:30:31 2009 +0100
@@ -0,0 +1,32 @@
+<UserControl
+	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">
+<UserControl.Resources>
+        <View:ArrayToString x:Key="ArrayToString"></View:ArrayToString>
+        <Converter:PolemicTypeColorConverter x:Key="PTCC"></Converter:PolemicTypeColorConverter>
+    </UserControl.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.Name}" 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,Converter={StaticResource PTCC}}" Stroke="Black" Height="16" HorizontalAlignment="Left" VerticalAlignment="Top" Width="16" RenderTransformOrigin="0,0.5"/>
+			<Rectangle Fill="{Binding Type,Converter={StaticResource PTCC}}" 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>
+</UserControl>
\ No newline at end of file