-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathHyperVStatus.xaml
More file actions
45 lines (45 loc) · 1.87 KB
/
HyperVStatus.xaml
File metadata and controls
45 lines (45 loc) · 1.87 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
41
42
43
44
45
<Window x:Class="TheFlightSims.HyperVDDA.HyperVStatus"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:local="clr-namespace:TheFlightSims.HyperVDDA"
mc:Ignorable="d"
Title="Hyper-V Service Status"
Height="300"
Width="400"
ResizeMode="NoResize"
SizeToContent="WidthAndHeight">
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="9*" MinHeight="100" MaxHeight="400"/>
<RowDefinition Height="*"/>
</Grid.RowDefinitions>
<Grid.Margin>
<Thickness Top="10" Bottom="10"></Thickness>
</Grid.Margin>
<Grid Grid.Row="0">
<Grid.Margin>
<Thickness Left="10" Right="10"/>
</Grid.Margin>
<ListView x:Name="ListHVSrv">
<ListView.View>
<GridView>
<GridViewColumn Header="Name" DisplayMemberBinding="{Binding ServiceName}" Width="270"/>
<GridViewColumn Header="Status" DisplayMemberBinding="{Binding ServiceStatus}" Width="100"/>
</GridView>
</ListView.View>
</ListView>
</Grid>
<Grid Grid.Row="1">
<Grid.ColumnDefinitions>
<ColumnDefinition/>
<ColumnDefinition Width="Auto"/>
</Grid.ColumnDefinitions>
<Grid.Margin>
<Thickness Top="5" Bottom="5" Left="10" Right="10"/>
</Grid.Margin>
<Button Grid.Column="1" Content="Refresh" VerticalAlignment="Center" Click="Refresh_Click" Padding="5,0,5,0"/>
</Grid>
</Grid>
</Window>