Skip to content
This repository was archived by the owner on Jun 21, 2023. It is now read-only.

Commit 6417fc1

Browse files
committed
Mock up a list item
1 parent db06394 commit 6417fc1

File tree

1 file changed

+16
-1
lines changed

1 file changed

+16
-1
lines changed

src/GitHub.VisualStudio/Views/Dialog/ForkRepositorySelectView.xaml

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,17 +41,31 @@
4141
Style="{DynamicResource GitHubProgressBar}"
4242
Visibility="{Binding IsLoading, Converter={ui:BooleanToHiddenVisibilityConverter}}"/>
4343

44+
<!-- ItemsSource="{Binding Accounts}" -->
4445
<ListBox Name="accountsListBox"
45-
ItemsSource="{Binding Accounts}"
4646
BorderThickness="0"
4747
ScrollViewer.HorizontalScrollBarVisibility="Disabled"
4848
SelectionChanged="accountsListBox_SelectionChanged">
49+
<ListBoxItem>
50+
<Border Background="LightGreen">
51+
<DockPanel HorizontalAlignment="Stretch" Margin="4">
52+
<TextBlock DockPanel.Dock="Bottom"
53+
Text="@donokuda"
54+
TextAlignment="Center"
55+
TextTrimming="CharacterEllipsis"/>
56+
<Image
57+
MaxWidth="100"
58+
Source="https://s3.amazonaws.com/uifaces/faces/twitter/zeldman/128.jpg" />
59+
</DockPanel>
60+
</Border>
61+
</ListBoxItem>
4962
<ListBox.ItemsPanel>
5063
<ItemsPanelTemplate>
5164
<UniformGrid Columns="3" Background="Red" IsItemsHost="True">
5265
</UniformGrid>
5366
</ItemsPanelTemplate>
5467
</ListBox.ItemsPanel>
68+
<!--
5569
<ListBox.ItemTemplate>
5670
<DataTemplate>
5771
<Border Background="LightGreen">
@@ -67,6 +81,7 @@
6781
</Border>
6882
</DataTemplate>
6983
</ListBox.ItemTemplate>
84+
-->
7085
</ListBox>
7186
</DockPanel>
7287

0 commit comments

Comments
 (0)