// hardcodet.net NotifyIcon for WPF // Copyright (c) 2009 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 { /// /// Defines flags that define when a popup /// is being displyed. /// public enum PopupActivationMode { /// /// The item is displayed if the user clicks the /// tray icon with the left mouse button. /// LeftClick, /// /// The item is displayed if the user clicks the /// tray icon with the right mouse button. /// RightClick, /// /// The item is displayed if the user double-clicks the /// tray icon. /// DoubleClick, /// /// The item is displayed if the user clicks the /// tray icon with the left or the right mouse button. /// LeftOrRightClick, /// /// The item is displayed if the user clicks the /// tray icon with the left mouse button or if a /// double-click is being performed. /// LeftOrDoubleClick, /// /// The item is displayed if the user clicks the /// tray icon with the middle mouse button. /// MiddleClick, /// /// The item is displayed whenever a click occurs. /// All } }