|
0
|
1 |
<UserControl x:Class="Iri.Modernisation.Controls.View.PersonnalChutier"
|
|
|
2 |
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
|
3 |
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
4
|
4 |
xmlns:Lang="clr-namespace:Iri.Modernisation.Lang;assembly=Iri.Modernisation.Lang"
|
|
0
|
5 |
xmlns:Input="clr-namespace:SLExtensions.Input;assembly=SLExtensions"
|
|
|
6 |
>
|
|
4
|
7 |
<UserControl.Resources>
|
|
|
8 |
<ResourceDictionary>
|
|
30
|
9 |
<ResourceDictionary.MergedDictionaries>
|
|
|
10 |
<ResourceDictionary Source="/Iri.Modernisation.Styles;Component/Templates_CommonTemplate.xaml"/>
|
|
|
11 |
</ResourceDictionary.MergedDictionaries>
|
|
4
|
12 |
<Lang:LangResource x:Name="LangLabels" x:Key="LangLabels"></Lang:LangResource>
|
|
|
13 |
</ResourceDictionary>
|
|
|
14 |
</UserControl.Resources>
|
|
0
|
15 |
<StackPanel x:Name="ChutierPanel">
|
|
4
|
16 |
<TextBlock Style="{StaticResource CommonTextBlock}" x:Name="TitleChutier" Height="16" Text="{Binding PersonalChutierTitle, Source={StaticResource LangLabels}}" TextWrapping="Wrap" Margin="0,0,8,0"/>
|
|
0
|
17 |
<StackPanel x:Name="AnnotedPanel" Height="160">
|
|
|
18 |
|
|
|
19 |
|
|
|
20 |
<TextBox x:Name="SearchAnnotedBox" KeyUp="SearchAnnotedBox_KeyUp" Text="{Binding SearchWord, Mode=TwoWay}" TextWrapping="Wrap" Margin="8,0" />
|
|
|
21 |
<!-- <Button x:Name="searchButton" Margin="13,0,12,0" Content="Button" Width="51" Input:CommandService.Command="Search"/> !-->
|
|
|
22 |
|
|
|
23 |
|
|
|
24 |
<ListBox x:Name="AnnotedResultList" Height="136" ItemsSource="{Binding Annotations, Mode=TwoWay}" >
|
|
|
25 |
<ListBox.ItemTemplate>
|
|
|
26 |
<DataTemplate>
|
|
|
27 |
<Grid >
|
|
|
28 |
<ToolTipService.ToolTip>
|
|
|
29 |
<TextBlock Text="{Binding Contributer.UserName}"/>
|
|
|
30 |
</ToolTipService.ToolTip>
|
|
|
31 |
<TextBlock Text="{Binding Title}" Input:CommandService.Command="ClickAnnotation" Input:CommandService.CommandParameter="{Binding}"/>
|
|
|
32 |
</Grid>
|
|
|
33 |
</DataTemplate>
|
|
|
34 |
</ListBox.ItemTemplate>
|
|
|
35 |
|
|
|
36 |
</ListBox>
|
|
|
37 |
</StackPanel>
|
|
|
38 |
|
|
|
39 |
</StackPanel>
|
|
|
40 |
</UserControl>
|