-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathMainWindow.xaml
More file actions
43 lines (41 loc) · 1.65 KB
/
Copy pathMainWindow.xaml
File metadata and controls
43 lines (41 loc) · 1.65 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
<?xml version="1.0" encoding="utf-8" ?>
<winex:WindowEx
x:Class="WinExSpectrumTest.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:controls="using:WinExSpectrumTest.Control"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:local="using:WinExSpectrumTest"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:myCanvas="using:WinExSpectrumTest.Canvas"
xmlns:winex="using:WinUIEx"
Title="WinExSpectrumTest"
Width="512"
Height="512"
MinWidth="384"
MinHeight="384"
mc:Ignorable="d">
<winex:WindowEx.SystemBackdrop>
<winex:TransparentTintBackdrop />
</winex:WindowEx.SystemBackdrop>
<Grid x:Name="MyMainwindow" PointerEntered="MyMainwindow_PointerEntered" PointerExited="MyMainwindow_PointerExited">
<controls:NotifyIconControl x:Name="AppNotifyIconControl" MinWidth="0" />
<Grid HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Canvas.ZIndex="1">
<myCanvas:CanvasPanel x:Name="MyCanvas" />
</Grid>
<Grid
x:Name="TopCommand"
Margin="5,0,0,0"
VerticalAlignment="Top"
Canvas.ZIndex="999"
PointerEntered="TopCommand_PointerEntered"
PointerExited="TopCommand_PointerExited">
<Grid.OpacityTransition>
<ScalarTransition />
</Grid.OpacityTransition>
<Button Click="Button_Click">
<FontIcon FontSize="16" Glyph="" />
</Button>
</Grid>
</Grid>
</winex:WindowEx>