PostSharp//API Reference/Post­Sharp.​Patterns.​Model.​Controls/Undo­Redo­Button­Base/On­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.