// Author: Gockner, Simon
// Created: 2021-04-06
// Copyright(c) 2021 SimonG. All Rights Reserved.
using System;
using Avalonia.Controls;
namespace Lib.NotifyIcon
{
public interface INotifyIcon
{
///
/// Gets or sets the path for the notify icon
///
public string IconPath { get; set; }
///
/// Gets or sets the tooltip text for the notify icon
///
public string ToolTipText { get; set; }
///
/// Gets or sets the context menu for the notify icon
///
public ContextMenu ContextMenu { get; set; }
///
/// Gets or sets if the notify icon is visible in the taskbar notification area or not
///
public bool Visible { get; set; }
///
/// Removes the notify icon from the taskbar notification area
///
public void Remove();
///
/// This event is raised when a user clicks on the notification icon
///
public event EventHandler Click;
///
/// This event is raised when a user double clicks on the notification icon
///
public event EventHandler DoubleClick;
///
/// This event is raised when a user right clicks on the notification icon
///
public event EventHandler RightClick;
}
}