-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMainWindow.xaml
25 lines (24 loc) · 1.27 KB
/
MainWindow.xaml
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
<Window x:Class="Appboxstudios.ClipboardBroadcaster.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:roundProgressBar="clr-namespace:RoundProgressBar;assembly=RoundProgressBar"
Title="MainWindow" Height="350" Width="525">
<Grid>
<ListBox ItemsSource="{Binding RemoteAddresses}">
<ListBox.ItemsPanel>
<ItemsPanelTemplate>
<WrapPanel/>
</ItemsPanelTemplate>
</ListBox.ItemsPanel>
<ListBox.ItemTemplate>
<DataTemplate>
<Grid Width="100" Height="100">
<TextBlock TextWrapping="Wrap" TextTrimming="CharacterEllipsis" Text="{Binding EndpointName}"/>
<roundProgressBar:CircularProgressBar Visibility="{Binding Connecting}" Color="DarkGreen" Width="100" Height="100" HorizontalAlignment="Center" CircleSize="10" VerticalAlignment="Center"/>
</Grid>
</DataTemplate>
</ListBox.ItemTemplate>
</ListBox>
<TextBlock x:Name="txtStatus" Text="{Binding Status}" VerticalAlignment="Bottom" Margin="10" FontSize="30"/>
</Grid>
</Window>