generated from jingkecn/MyScript.InteractiveInk.Starter.UWP
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathInteractiveInkCanvas.xaml
29 lines (29 loc) · 1.49 KB
/
InteractiveInkCanvas.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
<UserControl
x:Class="MyScript.InteractiveInk.UI.Xaml.Controls.InteractiveInkCanvas"
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:canvas="using:Microsoft.Graphics.Canvas.UI.Xaml"
mc:Ignorable="d"
d:DesignHeight="300"
d:DesignWidth="400"
Loaded="OnLoaded"
SizeChanged="OnSizeChanged"
Unloaded="OnUnloaded">
<Grid>
<canvas:CanvasVirtualControl x:Name="BackgroundLayer"
RegionsInvalidated="OnRegionsInvalidated" />
<canvas:CanvasVirtualControl x:Name="ModelLayer"
RegionsInvalidated="OnRegionsInvalidated" />
<canvas:CanvasVirtualControl x:Name="TemporaryLayer"
RegionsInvalidated="OnRegionsInvalidated" />
<canvas:CanvasVirtualControl x:Name="CaptureLayer"
DoubleTapped="OnDoubleTapped"
PointerCanceled="OnPointerCanceled"
PointerMoved="OnPointerMoved"
PointerPressed="OnPointerPressed"
PointerReleased="OnPointerReleased"
RegionsInvalidated="OnRegionsInvalidated" />
</Grid>
</UserControl>