File: Core\CSharp\System\Windows\Input\Command\MouseAction.cs
Project: wpf\src\PresentationCore.csproj (PresentationCore)
//---------------------------------------------------------------------------
//
// <copyright file=MouseAction.cs company=Microsoft>
//    Copyright (C) Microsoft Corporation.  All rights reserved.
// </copyright>
// 
//
// Description: The MouseAction class is used to create Gestures for Mouse Device 
//
//              See spec at : http://avalon/coreUI/Specs/Commanding%20--%20design.htm 
// 
//
// History:  
//          04/29/2004 : chandras - Created
//
//---------------------------------------------------------------------------
 
using System;
using System.ComponentModel;
using System.Windows.Markup;
 
namespace System.Windows.Input
{
    /// <summary>
    /// Mouse Action Enumeration
    /// </summary>
    [TypeConverter(typeof(MouseActionConverter))]
    [ValueSerializer(typeof(MouseActionValueSerializer))]
    public enum MouseAction : byte
    {
        /// <summary>
        /// None
        /// </summary>
        None, 
        /// <summary>
        /// LeftClick
        /// </summary>
        LeftClick, 
        /// <summary>
        /// RightClick
        /// </summary>
        RightClick, 
        /// <summary>
        /// MiddleClick
        /// </summary>
        MiddleClick, 
        /// <summary>
        /// WheelClick
        /// </summary>
        WheelClick,
        /// <summary>
        /// LeftDoubleClick
        /// </summary>
        LeftDoubleClick, 
        /// <summary>
        /// RightDoubleClick
        /// </summary>
        RightDoubleClick, 
        /// <summary>
        /// MiddleDoubleClick
        /// </summary>
        MiddleDoubleClick
    }
}