PostSharpAPI ReferencePost­Sharp.​Patterns.​Model.​ControlsUndo­Redo­Button­BaseOn­Key­Down
Open sandboxFocus

Method OnKeyDown

OnKeyDown(KeyEventArgs)

Provides class handling for the KeyDown routed event that occurs when the user presses a key while this control has focus.

Declaration
protected override void OnKeyDown(KeyEventArgs e)
Parameters
Type Name Description
KeyEventArgs e

The event data.