forked from CartBlanche/MonoGame-Samples
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMainWindow.xaml
43 lines (42 loc) · 1.56 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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
<Window x:Class="WpfInteropSample.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="clr-namespace:WpfInteropSample"
Title="MainWindow"
Width="525"
Height="350">
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition />
<ColumnDefinition />
</Grid.ColumnDefinitions>
<Grid.RowDefinitions>
<RowDefinition />
<RowDefinition />
</Grid.RowDefinitions>
<local:D3D11Host x:Name="Host0"
Grid.Row="0"
Grid.Column="0"
Margin="5"
SnapsToDevicePixels="True"
Stretch="Fill" />
<local:D3D11Host x:Name="Host1"
Grid.Row="0"
Grid.Column="1"
Margin="5"
SnapsToDevicePixels="True"
Stretch="Fill" />
<local:D3D11Host x:Name="Host2"
Grid.Row="1"
Grid.Column="0"
Margin="5"
SnapsToDevicePixels="True"
Stretch="Fill" />
<local:D3D11Host x:Name="Host3"
Grid.Row="1"
Grid.Column="1"
Margin="5"
SnapsToDevicePixels="True"
Stretch="Fill" />
</Grid>
</Window>