client/src/Iri.Modernisation.Controls/View/NavigationBar/ReferencesChutier.xaml
changeset 0 249d70e7b32d
child 4 cf756528609e
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/client/src/Iri.Modernisation.Controls/View/NavigationBar/ReferencesChutier.xaml	Wed Nov 18 15:30:31 2009 +0100
@@ -0,0 +1,36 @@
+<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.ReferencesChutier"
+      xmlns:Input="clr-namespace:SLExtensions.Input;assembly=SLExtensions" 
+>
+
+	<StackPanel x:Name="ChutierPanel">
+		<TextBlock Style="{StaticResource CommonTextBlock}" x:Name="TitleChutier" Height="16" Text="Mes Références" TextWrapping="Wrap" d:LayoutOverrides="VerticalMargin" Margin="0,0,8,0"/>
+		<StackPanel x:Name="AnnotedPanel" Height="160" d:LayoutOverrides="Height, VerticalMargin">
+		
+			
+				<TextBox x:Name="SearchAnnotedBox" KeyUp="SearchAnnotedBox_KeyUp"  Text="{Binding SearchWord, Mode=TwoWay}" TextWrapping="Wrap" Margin="8,0"/>
+			<!--	<Button x:Name="searchButton" Margin="13,0,12,0" Content="Button" Width="51" Input:CommandService.Command="Search"/>-->
+			
+
+            <ListBox x:Name="AnnotedResultList" Height="136" ItemsSource="{Binding Annotations, Mode=TwoWay}" >
+                <ListBox.ItemTemplate>
+                    <DataTemplate>
+                        <Grid >
+                            <ToolTipService.ToolTip>
+                                <TextBlock Text="{Binding Contributer.UserName}"/>
+                            </ToolTipService.ToolTip>
+                            <TextBlock Text="{Binding Title}" Input:CommandService.Command="ClickAnnotation" Input:CommandService.CommandParameter="{Binding}" />
+                        </Grid>
+                    </DataTemplate>
+                </ListBox.ItemTemplate>
+
+            </ListBox>
+        </StackPanel>
+		
+	</StackPanel>
+</UserControl>
\ No newline at end of file