This repository was archived by the owner on Jun 21, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Expand file tree
/
Copy pathCommentThreadView.xaml
More file actions
40 lines (39 loc) · 2.12 KB
/
CommentThreadView.xaml
File metadata and controls
40 lines (39 loc) · 2.12 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
<UserControl x:Class="GitHub.VisualStudio.Views.CommentThreadView"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:local="clr-namespace:GitHub.VisualStudio.Views"
xmlns:ghfvs="https://github.com/github/VisualStudio"
mc:Ignorable="d" d:DesignHeight="300" d:DesignWidth="300">
<d:DesignProperties.DataContext>
<x:Array Type="{x:Type ghfvs:CommentThreadViewModelDesigner}">
<ghfvs:CommentThreadViewModelDesigner>
<!-- <ghfvs:CommentThreadViewModelDesigner.Comments>
<ghfvs:CommentViewModelDesigner>
<ghfvs:CommentViewModelDesigner.Body>
I assume this doesn't do anything if our message isn't showing?
</ghfvs:CommentViewModelDesigner.Body>
</ghfvs:CommentViewModelDesigner>
<ghfvs:CommentViewModelDesigner>
<ghfvs:CommentViewModelDesigner.Body>
Nope, does nothing! Also checked the logs.
</ghfvs:CommentViewModelDesigner.Body>
</ghfvs:CommentViewModelDesigner>
<ghfvs:CommentViewModelDesigner EditState="Placeholder">
<ghfvs:CommentViewModelDesigner.Body>
Reply...
</ghfvs:CommentViewModelDesigner.Body>
</ghfvs:CommentViewModelDesigner>
</ghfvs:CommentThreadViewModelDesigner.Comments> -->
</ghfvs:CommentThreadViewModelDesigner>
</x:Array>
</d:DesignProperties.DataContext>
<ItemsControl ItemsSource="{Binding Comments}">
<ItemsControl.ItemTemplate>
<DataTemplate>
<local:CommentView Margin="0 4"/>
</DataTemplate>
</ItemsControl.ItemTemplate>
</ItemsControl>
</UserControl>