File: Base\System\Windows\Input\ModifierKeys.cs
Project: wpf\src\WindowsBase.csproj (WindowsBase)

using System;
using System.ComponentModel;
using System.Windows.Markup;
 
namespace System.Windows.Input
{
    /// <summary>
    ///     The ModifierKeys enumeration describes a set of common keys
    ///     used to modify other input operations.
    /// </summary>
    [TypeConverter(typeof(ModifierKeysConverter))]
    [ValueSerializer(typeof(ModifierKeysValueSerializer))]
    [Flags]
    public enum ModifierKeys
    {
        /// <summary>
        ///    No modifiers are pressed.
        /// </summary>
        None = 0,
 
        /// <summary>
        ///    An alt key.
        /// </summary>
        Alt = 1,
        
        /// <summary>
        ///    A control key.
        /// </summary>
        Control = 2,
 
        /// <summary>
        ///    A shift key.
        /// </summary>
        Shift = 4,
        
        /// <summary>
        ///    A windows key.
        /// </summary>
        Windows = 8
    }
}