StylusEventHandler Delegate
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents the method that handles a stylus event for a class that the implements the IInputElement interface.
public delegate void StylusEventHandler(System::Object ^ sender, StylusEventArgs ^ e);
public delegate void StylusEventHandler(object sender, StylusEventArgs e);
type StylusEventHandler = delegate of obj * StylusEventArgs -> unit
Public Delegate Sub StylusEventHandler(sender As Object, e As StylusEventArgs)
Parameters
- sender
- Object
The source of the event.
The event data.
Examples
The following example demonstrates how to use the StylusEventHandler delegate to designate a handler for the StylusDown event.
button1.StylusDown += new StylusDownEventHandler(button1_StylusDown);
AddHandler button1.StylusDown, AddressOf button1_StylusDown
Extension Methods
GetMethodInfo(Delegate) |
Gets an object that represents the method represented by the specified delegate. |
Applies to
Surađujte s nama na GitHubu
Izvor za ovaj sadržaj možete pronaći na GitHubu, gdje možete stvarati i pregledavati probleme i zahtjeve za povlačenjem. Dodatne informacije potražite u našem vodiču za suradnike.