75 lines
2.4 KiB
C#
75 lines
2.4 KiB
C#
// hardcodet.net NotifyIcon for WPF
|
|
// Copyright (c) 2009 - 2020 Philipp Sumi
|
|
// Contact and Information: http://www.hardcodet.net
|
|
//
|
|
// This library is free software; you can redistribute it and/or
|
|
// modify it under the terms of the Code Project Open License (CPOL);
|
|
// either version 1.0 of the License, or (at your option) any later
|
|
// version.
|
|
//
|
|
// The above copyright notice and this permission notice shall be
|
|
// included in all copies or substantial portions of the Software.
|
|
//
|
|
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
|
|
// OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
|
// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
|
|
// HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
|
// WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
|
// OTHER DEALINGS IN THE SOFTWARE.
|
|
//
|
|
// THIS COPYRIGHT NOTICE MAY NOT BE REMOVED FROM THIS FILE
|
|
|
|
|
|
namespace Hardcodet.Wpf.TaskbarNotification
|
|
{
|
|
/// <summary>
|
|
/// Defines flags that define when a popup
|
|
/// is being displyed.
|
|
/// </summary>
|
|
public enum PopupActivationMode
|
|
{
|
|
/// <summary>
|
|
/// The item is displayed if the user clicks the
|
|
/// tray icon with the left mouse button.
|
|
/// </summary>
|
|
LeftClick,
|
|
|
|
/// <summary>
|
|
/// The item is displayed if the user clicks the
|
|
/// tray icon with the right mouse button.
|
|
/// </summary>
|
|
RightClick,
|
|
|
|
/// <summary>
|
|
/// The item is displayed if the user double-clicks the
|
|
/// tray icon.
|
|
/// </summary>
|
|
DoubleClick,
|
|
|
|
/// <summary>
|
|
/// The item is displayed if the user clicks the
|
|
/// tray icon with the left or the right mouse button.
|
|
/// </summary>
|
|
LeftOrRightClick,
|
|
|
|
/// <summary>
|
|
/// The item is displayed if the user clicks the
|
|
/// tray icon with the left mouse button or if a
|
|
/// double-click is being performed.
|
|
/// </summary>
|
|
LeftOrDoubleClick,
|
|
|
|
/// <summary>
|
|
/// The item is displayed if the user clicks the
|
|
/// tray icon with the middle mouse button.
|
|
/// </summary>
|
|
MiddleClick,
|
|
|
|
/// <summary>
|
|
/// The item is displayed whenever a click occurs.
|
|
/// </summary>
|
|
All
|
|
}
|
|
} |