-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMainPage.xaml
53 lines (44 loc) · 1.41 KB
/
MainPage.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
44
45
46
47
48
49
50
51
52
53
<Page
x:Class="VideoBug.MainPage"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="using:VideoBug"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:canvas="using:Microsoft.Graphics.Canvas.UI.Xaml"
mc:Ignorable="d"
Background="Black">
<StackPanel Orientation="Vertical">
<Button
Content="Export Screenshot"
Click="ExportScreenshot"/>
<Button
Content="Copy Screenshot"
Click="CopyScreenshot"/>
<Button
Content="Export Video"
Click="ExportVideo"/>
<StackPanel
x:Name="Colours"
Orientation="Vertical"
Background="White">
<Rectangle
Fill="Red"
Width="200"
Height="50"/>
<Rectangle
Fill="Green"
Width="200"
Height="50"/>
<Rectangle
Fill="Blue"
Width="200"
Height="50"/>
<canvas:CanvasControl
x:Name="Canvas"
Width="200"
Height="300"
Draw="RedrawCanvas"/>
</StackPanel>
</StackPanel>
</Page>