Skip to content

Window.PendingKeySequence property

Gets the strokes pressed so far of a key sequence that needs more keys to complete, or null when none is in progress.

public KeySequence? PendingKeySequence { get; }

While this has a value every key press goes to the sequence: the next one completes it, extends it, or cancels it without reaching the focused element. It clears by itself a few seconds after the last stroke, on Escape, and when the window is deactivated.