|
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
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
}
}
|