EventHandler<T> delegate

0 out of 9 rated this helpful - Rate this topic

Represents a method that handles general events.

.NET:  This type appears as System.EventHandler<TEventArgs>.

Syntax


var eventHandler = function(sender, args) {
 /* Your code */
}

Attributes

GuidAttribute("9de1c535-6ae1-11e0-84e1-18a905bcc53f")
VersionAttribute(NTDDI_WIN8)

Parameters

sender

Type: Object [JavaScript] | Platform::Object [C++]

The event source.

args

Type: T

The event data.

Remarks

When building Windows Store apps with the Microsoft .NET Framework, this class is hidden and developers should use the System.EventHandler<TEventArgs> class.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8

Namespace

Windows.Foundation
Windows::Foundation [C++]

Metadata

Windows.winmd

See also

System.EventHandler<TEventArgs>

 

 

Build date: 2/25/2013

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.