| File: System\Windows\Input\KeyStates.cs | Web Access |
| Project: src\wpf\src\Microsoft.DotNet.Wpf\src\PresentationCore\PresentationCore.csproj (PresentationCore) |
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. 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 } }