mirror of
https://github.com/Artemis-RGB/Artemis
synced 2025-12-13 05:48:35 +00:00
37 lines
1.6 KiB
XML
37 lines
1.6 KiB
XML
<Window x:Class="Artemis.UI.Screens.TrayView"
|
|
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:s="https://github.com/canton7/Stylet"
|
|
xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes"
|
|
mc:Ignorable="d"
|
|
Title="Artemis"
|
|
Height="1"
|
|
Width="1"
|
|
Visibility="Hidden">
|
|
<tb:TaskbarIcon x:Name="TrayIcon"
|
|
IconSource="/Resources/logo-512.ico"
|
|
MenuActivation="LeftOrRightClick"
|
|
PopupActivation="DoubleClick"
|
|
ToolTipText="Artemis"
|
|
DoubleClickCommand="{s:Action TrayBringToForeground}">
|
|
<tb:TaskbarIcon.ContextMenu>
|
|
<ContextMenu>
|
|
<MenuItem Header="Bring to foreground" Command="{s:Action TrayBringToForeground}">
|
|
<MenuItem.Icon>
|
|
<materialDesign:PackIcon Kind="ArrangeBringToFront" />
|
|
</MenuItem.Icon>
|
|
</MenuItem>
|
|
<Separator />
|
|
<MenuItem Header="Exit" Command="{s:Action TrayExit}">
|
|
<MenuItem.Icon>
|
|
<materialDesign:PackIcon Kind="Close" />
|
|
</MenuItem.Icon>
|
|
</MenuItem>
|
|
</ContextMenu>
|
|
</tb:TaskbarIcon.ContextMenu>
|
|
</tb:TaskbarIcon>
|
|
</Window>
|