File: Core\CSharp\System\Windows\Input\KeyStates.cs
Project: wpf\src\PresentationCore.csproj (PresentationCore)

using System;
namespace System.Windows.Input 
{
    /// <summary>
    ///     The KeyStates enumeration describes the state that keyboard keys
    ///     can be in.
    /// </summary>
    [Flags]
    public enum KeyStates : byte
    {
        /// <summary>
        ///     No state (same as up).
        /// </summary>
        None = 0,
 
        /// <summary>
        ///    The key is down.
        /// </summary>
        Down = 1,
 
        /// <summary>
        ///    The key is toggled on.
        /// </summary>
        Toggled = 2
    }
}