File: src\Framework\System\Windows\Controls\CalendarKeyboardHelper.cs
Project: wpf\PresentationFramework.csproj (PresentationFramework)
using System.Windows.Input;
 
namespace System.Windows.Controls
{
    internal static class CalendarKeyboardHelper
    {
        public static void GetMetaKeyState(out bool ctrl, out bool shift)
        {
            ctrl = (Keyboard.Modifiers & ModifierKeys.Control) == ModifierKeys.Control;
            shift = (Keyboard.Modifiers & ModifierKeys.Shift) == ModifierKeys.Shift;
        }
    }
}