client/src/Iri.Modernisation.Controls/View/NavigationBar/PersonnalChutier.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/PersonnalChutier.xaml	Wed Nov 18 15:30:31 2009 +0100
@@ -0,0 +1,31 @@
+<UserControl x:Class="Iri.Modernisation.Controls.View.PersonnalChutier"
+    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
+    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
+              xmlns:Input="clr-namespace:SLExtensions.Input;assembly=SLExtensions" 
+   >
+    <StackPanel x:Name="ChutierPanel">
+        <TextBlock Style="{StaticResource CommonTextBlock}"  x:Name="TitleChutier" Height="16" Text="Mes Annotations" TextWrapping="Wrap" Margin="0,0,8,0"/>
+        <StackPanel x:Name="AnnotedPanel" Height="160">
+
+          
+                <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>