I wanted to capture whether a modifier key was being pressed during application startup (to determine fullscreen or windowed).
In the main window constructor I tried checking the Keyboard.Modifiers enum to see if Shift is down. It always showed 'None'.
So I tried a different approach by starting off a DispatcherTimer and checking for shift in its Tick event. Thats seems to work fine.
Question is, is this the best (only) way to do this? And why does the modifier not return the correct value in the window constructor?