Event​Handler Event​Handler Event​Handler Event​Handler Delegate

Definition

Represents a method that handles general events.

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

public : delegate void EventHandler(PlatForm::Object sender, T args)public delegate void EventHandler(Object sender, T args)Public Delegate EventHandler(sender As Object, args As T)// You can use this delegate in JavaScript.
Parameters
sender
PlatForm::Object Object Object Object

The event source.

args
T T T T

The event data.

Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.FoundationContract (introduced v1)

Remarks

When programming with .NET, this class is hidden and developers should use the System.EventHandler<TEventArgs> class. Existing Windows Runtime events have an event data type constraint for TEventArgs, so use that event-data type if you need the event data in your specific handler implementation.

See Also