-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathCheckForAssignableDevice.xaml
More file actions
49 lines (49 loc) · 2.34 KB
/
CheckForAssignableDevice.xaml
File metadata and controls
49 lines (49 loc) · 2.34 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
46
47
48
49
<Window x:Class="TheFlightSims.HyperVDDA.CheckForAssignableDevice"
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"
SizeToContent="WidthAndHeight"
ResizeMode="NoResize"
Title="Check For Assignable Devices"
Height="400"
Width="600">
<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="AssignableDevice_ListView">
<ListView.View>
<GridView>
<GridViewColumn Header="Device Instance Path" DisplayMemberBinding="{Binding DeviceId}" Width="200"/>
<GridViewColumn Header="Device Name" DisplayMemberBinding="{Binding DeviceName}" Width="170"/>
<GridViewColumn Header="Memory Gap" DisplayMemberBinding="{Binding DeviceGap}" Width="80"/>
<GridViewColumn Header="Note" DisplayMemberBinding="{Binding DeviceNote}" Width="120"/>
</GridView>
</ListView.View>
</ListView>
</Grid>
<Grid Grid.Row="1">
<Grid.Margin>
<Thickness Left="10" Right="10" Top="5" Bottom="5"/>
</Grid.Margin>
<Grid.ColumnDefinitions>
<ColumnDefinition/>
<ColumnDefinition Width="Auto"/>
<ColumnDefinition Width="Auto"/>
</Grid.ColumnDefinitions>
<Button Grid.Column="1" Click="Check_Button" VerticalAlignment="Center" Margin="5,0,5,0" Padding="3,0,3,0">Check for Devices</Button>
<Button Grid.Column="2" Click="Cancel_Button" VerticalAlignment="Center" Margin="5,0,0,0" Padding="3,0,3,0">Close</Button>
</Grid>
</Grid>
</Window>