PostSharp 6.10 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Model.​Controls Namespace / Undo­Redo­Button­Base Class / Undo­Redo­Button­Base Methods / Undo­Redo­Button­Base.​On­Key­Down Method

UndoRedoButtonBase.OnKeyDown Method

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

Namespace:  PostSharp.Patterns.Model.Controls
Assembly:  PostSharp.Patterns.Xaml (in PostSharp.Patterns.Xaml.dll) Version: 6.10.5.0 (6.10.5.0)
Syntax
C#
protected override void OnKeyDown(
	KeyEventArgs e
)

Parameters

e
Type: System.Windows.Input.KeyEventArgs
The event data.
See Also