Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Occurs before the KeyDown event when a key is pressed while focus is on this control.
Namespace: Microsoft.Office.Tools
Assembly: Microsoft.Office.Tools.Common (in Microsoft.Office.Tools.Common.dll)
Syntax
'Declaration
Event PreviewKeyDown As PreviewKeyDownEventHandler
event PreviewKeyDownEventHandler PreviewKeyDown
Remarks
This event provides the same functionality as the Control.PreviewKeyDown event. For more information about using this event, see Control.PreviewKeyDown.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.Office.Tools Namespace