|
2 | 2 | xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" |
3 | 3 | xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
4 | 4 | xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" |
5 | | - xmlns:d="http://schemas.microsoft.com/expression/blend/2008" |
6 | | - xmlns:cache="clr-namespace:GitHub.UI.Helpers;assembly=GitHub.UI" |
7 | | - xmlns:ui="clr-namespace:GitHub.UI;assembly=GitHub.UI" |
8 | | - xmlns:vm="clr-namespace:GitHub.ViewModels.GitHubPane;assembly=GitHub.App" |
| 5 | + xmlns:d="http://schemas.microsoft.com/expression/blend/2008" |
| 6 | + xmlns:ghfvs="https://github.com/github/VisualStudio" |
9 | 7 | xmlns:prop="clr-namespace:GitHub.VisualStudio.UI;assembly=GitHub.VisualStudio.UI" |
10 | | - xmlns:sample="clr-namespace:GitHub.SampleData;assembly=GitHub.App" |
11 | 8 | mc:Ignorable="d" d:DesignHeight="300" d:DesignWidth="300" |
12 | 9 | Name="root"> |
13 | 10 |
|
14 | 11 | <d:DesignProperties.DataContext> |
15 | | - <sample:PullRequestFilesViewModelDesigner/> |
| 12 | + <ghfvs:PullRequestFilesViewModelDesigner/> |
16 | 13 | </d:DesignProperties.DataContext> |
17 | 14 |
|
18 | 15 | <Control.Resources> |
19 | 16 | <ResourceDictionary> |
20 | 17 | <ResourceDictionary.MergedDictionaries> |
21 | | - <cache:SharedDictionaryManager Source="pack://application:,,,/GitHub.VisualStudio.UI;component/SharedDictionary.xaml" /> |
22 | | - <cache:SharedDictionaryManager Source="pack://application:,,,/GitHub.UI;component/SharedDictionary.xaml" /> |
23 | | - <cache:SharedDictionaryManager Source="pack://application:,,,/GitHub.UI.Reactive;component/SharedDictionary.xaml" /> |
24 | | - <cache:SharedDictionaryManager Source="pack://application:,,,/GitHub.UI;component/Assets/Markdown.xaml" /> |
| 18 | + <ghfvs:SharedDictionaryManager Source="pack://application:,,,/GitHub.VisualStudio.UI;component/SharedDictionary.xaml" /> |
| 19 | + <ghfvs:SharedDictionaryManager Source="pack://application:,,,/GitHub.UI;component/SharedDictionary.xaml" /> |
| 20 | + <ghfvs:SharedDictionaryManager Source="pack://application:,,,/GitHub.UI.Reactive;component/SharedDictionary.xaml" /> |
| 21 | + <ghfvs:SharedDictionaryManager Source="pack://application:,,,/GitHub.UI;component/Assets/Markdown.xaml" /> |
25 | 22 | </ResourceDictionary.MergedDictionaries> |
26 | 23 |
|
27 | 24 | <ContextMenu x:Key="FileContextMenu"> |
|
46 | 43 | <TreeView.ItemContainerStyle> |
47 | 44 | <Style TargetType="TreeViewItem"> |
48 | 45 | <Setter Property="IsExpanded" Value="True"/> |
49 | | - <Setter Property="Foreground" Value="{DynamicResource GitHubVsWindowText}"/> |
50 | 46 | </Style> |
51 | 47 | </TreeView.ItemContainerStyle> |
52 | 48 | <TreeView.Resources> |
53 | | - <HierarchicalDataTemplate DataType="{x:Type vm:PullRequestDirectoryNode}" |
| 49 | + <HierarchicalDataTemplate DataType="{x:Type ghfvs:PullRequestDirectoryNode}" |
54 | 50 | ItemsSource="{Binding Children}"> |
55 | 51 | <StackPanel Orientation="Horizontal"> |
56 | | - <ui:OcticonImage Icon="file_directory" Foreground="{DynamicResource GitHubDirectoryIconForeground}" Margin="0,0,0,2"/> |
| 52 | + <ghfvs:OcticonImage Icon="file_directory" Foreground="{DynamicResource GitHubDirectoryIconForeground}" Margin="0,0,0,2"/> |
57 | 53 | <TextBlock Text="{Binding DirectoryName}" Margin="4 2" VerticalAlignment="Center"/> |
58 | 54 | </StackPanel> |
59 | 55 | </HierarchicalDataTemplate> |
60 | 56 |
|
61 | | - <DataTemplate DataType="{x:Type vm:PullRequestFileNode}"> |
| 57 | + <DataTemplate DataType="{x:Type ghfvs:PullRequestFileNode}"> |
62 | 58 | <StackPanel Orientation="Horizontal" |
63 | 59 | Tag="{Binding DataContext, ElementName=root}" |
64 | 60 | KeyboardNavigation.DirectionalNavigation="None"> |
|
82 | 78 | </Style.Triggers> |
83 | 79 | </Style> |
84 | 80 | </Decorator.Style> |
85 | | - <ui:OcticonImage Icon="file_code" Margin="0,0,0,2"/> |
| 81 | + <ghfvs:OcticonImage Icon="file_code" Margin="0,0,0,2"/> |
86 | 82 | </Decorator> |
87 | 83 |
|
88 | 84 | <TextBlock Text="{Binding FileName}" Margin="4 2" VerticalAlignment="Center"> |
|
126 | 122 | </Style.Triggers> |
127 | 123 | </Style> |
128 | 124 | </TextBlock.Style> |
129 | | - <ui:OcticonImage Icon="comment_discussion" Height="10" Margin="-2 0"/> |
| 125 | + <ghfvs:OcticonImage Icon="comment_discussion" Height="10" Margin="-2 0"/> |
130 | 126 | <Hyperlink Command="{Binding DataContext.OpenFirstComment, ElementName=root}" |
131 | 127 | CommandParameter="{Binding}"> |
132 | 128 | <Run Text="{Binding CommentCount, Mode=OneWay}"/> |
|
0 commit comments