Statistics
| Branch: | Revision:

root / trunk / NotifyIconWpf / PopupActivationMode.cs @ 126f90b3

History | View | Annotate | Download (2.2 kB)

1
// hardcodet.net NotifyIcon for WPF
2
// Copyright (c) 2009 Philipp Sumi
3
// Contact and Information: http://www.hardcodet.net
4
//
5
// This library is free software; you can redistribute it and/or
6
// modify it under the terms of the Code Project Open License (CPOL);
7
// either version 1.0 of the License, or (at your option) any later
8
// version.
9
// 
10
// The above copyright notice and this permission notice shall be
11
// included in all copies or substantial portions of the Software.
12
// 
13
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
14
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
15
// OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
16
// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
17
// HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
18
// WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
19
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
20
// OTHER DEALINGS IN THE SOFTWARE.
21
//
22
// THIS COPYRIGHT NOTICE MAY NOT BE REMOVED FROM THIS FILE
23

    
24

    
25
namespace Hardcodet.Wpf.TaskbarNotification
26
{
27
  /// <summary>
28
  /// Defines flags that define when a popup
29
  /// is being displyed.
30
  /// </summary>
31
  public enum PopupActivationMode
32
  {
33
    /// <summary>
34
    /// The item is displayed if the user clicks the
35
    /// tray icon with the left mouse button.
36
    /// </summary>
37
    LeftClick,
38
    /// <summary>
39
    /// The item is displayed if the user clicks the
40
    /// tray icon with the right mouse button.
41
    /// </summary>
42
    RightClick,
43
    /// <summary>
44
    /// The item is displayed if the user double-clicks the
45
    /// tray icon.
46
    /// </summary>
47
    DoubleClick,
48
    /// <summary>
49
    /// The item is displayed if the user clicks the
50
    /// tray icon with the left or the right mouse button.
51
    /// </summary>
52
    LeftOrRightClick,
53
    /// <summary>
54
    /// The item is displayed if the user clicks the
55
    /// tray icon with the left mouse button or if a
56
    /// double-click is being performed.
57
    /// </summary>
58
    LeftOrDoubleClick,
59
    /// <summary>
60
    /// The item is displayed if the user clicks the
61
    /// tray icon with the middle mouse button.
62
    /// </summary>
63
    MiddleClick,
64
    /// <summary>
65
    /// The item is displayed whenever a click occurs.
66
    /// </summary>
67
    All
68
  }
69
}