-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathMainWindow.xaml
More file actions
23 lines (23 loc) · 1.1 KB
/
Copy pathMainWindow.xaml
File metadata and controls
23 lines (23 loc) · 1.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<Window x:Class="Noizio.Net.MainWindow"
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:tb="http://www.hardcodet.net/taskbar"
xmlns:views="clr-namespace:Noizio.Net.Views"
mc:Ignorable="d" DataContext="{Binding DataContext, ElementName=popupWindow}"
ShowInTaskbar="False" Visibility="Hidden"
Title="MainWindow" Height="1" Width="1">
<Grid>
<tb:TaskbarIcon IconSource="/Resources/noizio.ico" ToolTipText="Noizio.Net">
<tb:TaskbarIcon.TrayPopup>
<views:NoizioPopup x:Name="popupWindow" Width="260" />
</tb:TaskbarIcon.TrayPopup>
<tb:TaskbarIcon.ContextMenu>
<ContextMenu>
<MenuItem Header="Quit" Command="{Binding QuitApp}" />
</ContextMenu>
</tb:TaskbarIcon.ContextMenu>
</tb:TaskbarIcon>
</Grid>
</Window>