KeyPressEventHandler Delegate

Summary

Represents the method that will handle an event that has received KeyPressEventArgs data.

Syntax
C#
VB
C++
public delegate void KeyPressEventHandler( 
   object sender, 
   KeyPressEventArgs e 
) 
Public Delegate Sub KeyPressEventHandler( _ 
   ByVal sender As Object, _ 
   ByVal e As KeyPressEventArgs _ 
)  
public delegate void KeyPressEventHandler(  
   Object^ sender, 
   KeyPressEventArgs^ e 
) 

Parameters

sender
The source of the event.

e
A KeyPressEventArgs object that contains the event data.

Remarks

Represents the method that will handle an KeyPressEvent event that has received KeyPressEventArgs data. When the KeyPressEvent event is raised in a toolkit object, any subscribed event handlers in your code will be called. See the Microsoft documentation on .NET Events and Delegates for more information about .NET delegates and events.

Requirements

Target Platforms

See Also

Reference

KeyPressEventHandler Members

Leadtools.MediaFoundation Namespace

Help Version 20.0.2020.4.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.MediaFoundation Assembly