~halega/+junk/sharpdevelop

« back to all changes in this revision

Viewing changes to src/AddIns/Misc/StartPage/Project/Src/RecentProjectsControl.xaml

  • Committer: sk
  • Date: 2011-09-10 05:17:57 UTC
  • Revision ID: halega@halega.com-20110910051757-qfouz1llya9m6boy
4.1.0.7915 Release Candidate 1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0" encoding="utf-8"?>
 
2
<UserControl
 
3
        x:Class="ICSharpCode.StartPage.RecentProjectsControl" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:core="http://icsharpcode.net/sharpdevelop/core">
 
4
        <StackPanel
 
5
                Orientation="Vertical">
 
6
                <ListView
 
7
                        Name="lastProjectsListView"
 
8
                        SelectionMode="Single"
 
9
                        core:SortableGridViewColumn.SortMode="Automatic"
 
10
                        Margin="0,0,0,20"
 
11
                        Visibility="Collapsed"
 
12
                        MouseDoubleClick="lastProjectsDoubleClick"
 
13
                        KeyDown="lastProjectsKeyDown">
 
14
                        <ListView.Resources>
 
15
                                <DataTemplate
 
16
                                        x:Key="nameCellTemplate">
 
17
                                        <TextBlock>
 
18
                                                <Hyperlink
 
19
                                                        Tag="{Binding}"
 
20
                                                        Click="listViewHyperlinkClick">
 
21
                                                        <TextBlock
 
22
                                                                Text="{Binding Path=Name}" />
 
23
                                                </Hyperlink>
 
24
                                        </TextBlock>
 
25
                                </DataTemplate>
 
26
                        </ListView.Resources>
 
27
                        <ListView.View>
 
28
                                <GridView>
 
29
                                        <core:SortableGridViewColumn
 
30
                                                SortBy="Name"
 
31
                                                CellTemplate="{StaticResource nameCellTemplate}"
 
32
                                                Header="{core:Localize Global.Name}" />
 
33
                                        <core:SortableGridViewColumn
 
34
                                                DisplayMemberBinding="{Binding Path=LastModification}"
 
35
                                                Header="{core:Localize StartPage.StartMenu.ModifiedTable}" />
 
36
                                        <core:SortableGridViewColumn
 
37
                                                DisplayMemberBinding="{Binding Path=Path}"
 
38
                                                Header="{core:Localize StartPage.StartMenu.LocationTable}" />
 
39
                                </GridView>
 
40
                        </ListView.View>
 
41
                </ListView>
 
42
                <StackPanel
 
43
                        Orientation="Horizontal">
 
44
                        <Button
 
45
                                Style="{x:Static core:GlobalStyles.ButtonStyle}"
 
46
                                Content="{core:Localize StartPage.StartMenu.OpenCombineButton}"
 
47
                                Click="openSolutionClick" />
 
48
                        <Button
 
49
                                Style="{x:Static core:GlobalStyles.ButtonStyle}"
 
50
                                Content="{core:Localize StartPage.StartMenu.NewCombineButton}"
 
51
                                Click="newSolutionClick"
 
52
                                Margin="8,0,0,0" />
 
53
                </StackPanel>
 
54
        </StackPanel>
 
55
</UserControl>
 
 
b'\\ No newline at end of file'