Table of Contents

Class EventHandlerDispatchExtensions

Namespace
Bunit
Assembly
bunit.dll

Input event dispatch helper extension methods.

public static class EventHandlerDispatchExtensions
Inheritance
EventHandlerDispatchExtensions
Inherited Members

Methods

Abort(IElement, ProgressEventArgs?)

Raises the @onabort event on element, passing the provided eventArgs to the event handler. If eventArgs is null, a new instance of ProgressEventArgs will be created.

public static void Abort(this IElement element, ProgressEventArgs? eventArgs = null)

Parameters

element IElement

The element to raise the event on.

eventArgs ProgressEventArgs

The event arguments to pass to the event handler.

AbortAsync(IElement, ProgressEventArgs?)

Raises the @onabort event on element, passing the provided eventArgs to the event handler. If eventArgs is null, a new instance of ProgressEventArgs will be created.

public static Task AbortAsync(this IElement element, ProgressEventArgs? eventArgs = null)

Parameters

element IElement

The element to raise the event on.

eventArgs ProgressEventArgs

The event arguments to pass to the event handler.

Returns

Task

A task that completes when the event handler is done.

Activate(IElement, EventArgs?)

Raises the @onactivate event on element, passing the provided eventArgs to the event handler. If eventArgs is null, a new instance of EventArgs will be created.

public static void Activate(this IElement element, EventArgs? eventArgs = null)

Parameters

element IElement

The element to raise the event on.

eventArgs EventArgs

The event arguments to pass to the event handler.

ActivateAsync(IElement, EventArgs?)

Raises the @onactivate event on element, passing the provided eventArgs to the event handler. If eventArgs is null, a new instance of EventArgs will be created.

public static Task ActivateAsync(this IElement element, EventArgs? eventArgs = null)

Parameters

element IElement

The element to raise the event on.

eventArgs EventArgs

The event arguments to pass to the event handler.

Returns

Task

A task that completes when the event handler is done.

BeforeActivate(IElement, EventArgs?)

Raises the @onbeforeactivate event on element, passing the provided eventArgs to the event handler. If eventArgs is null, a new instance of EventArgs will be created.

public static void BeforeActivate(this IElement element, EventArgs? eventArgs = null)

Parameters

element IElement

The element to raise the event on.

eventArgs EventArgs

The event arguments to pass to the event handler.

BeforeActivateAsync(IElement, EventArgs?)

Raises the @onbeforeactivate event on element, passing the provided eventArgs to the event handler. If eventArgs is null, a new instance of EventArgs will be created.

public static Task BeforeActivateAsync(this IElement element, EventArgs? eventArgs = null)

Parameters

element IElement

The element to raise the event on.

eventArgs EventArgs

The event arguments to pass to the event handler.

Returns

Task

A task that completes when the event handler is done.

BeforeCopy(IElement, EventArgs?)

Raises the @onbeforecopy event on element, passing the provided eventArgs to the event handler. If eventArgs is null, a new instance of EventArgs will be created.

public static void BeforeCopy(this IElement element, EventArgs? eventArgs = null)

Parameters

element IElement

The element to raise the event on.

eventArgs EventArgs

The event arguments to pass to the event handler.

BeforeCopyAsync(IElement, EventArgs?)

Raises the @onbeforecopy event on element, passing the provided eventArgs to the event handler. If eventArgs is null, a new instance of EventArgs will be created.

public static Task BeforeCopyAsync(this IElement element, EventArgs? eventArgs = null)

Parameters

element IElement

The element to raise the event on.

eventArgs EventArgs

The event arguments to pass to the event handler.

Returns

Task

A task that completes when the event handler is done.

BeforeCut(IElement, EventArgs?)

Raises the @onbeforecut event on element, passing the provided eventArgs to the event handler. If eventArgs is null, a new instance of EventArgs will be created.

public static void BeforeCut(this IElement element, EventArgs? eventArgs = null)

Parameters

element IElement

The element to raise the event on.

eventArgs EventArgs

The event arguments to pass to the event handler.

BeforeCutAsync(IElement, EventArgs?)

Raises the @onbeforecut event on element, passing the provided eventArgs to the event handler. If eventArgs is null, a new instance of EventArgs will be created.

public static Task BeforeCutAsync(this IElement element, EventArgs? eventArgs = null)

Parameters

element IElement

The element to raise the event on.

eventArgs EventArgs

The event arguments to pass to the event handler.

Returns

Task

A task that completes when the event handler is done.

BeforeDeactivate(IElement, EventArgs?)

Raises the @onbeforedeactivate event on element, passing the provided eventArgs to the event handler. If eventArgs is null, a new instance of EventArgs will be created.

public static void BeforeDeactivate(this IElement element, EventArgs? eventArgs = null)

Parameters

element IElement

The element to raise the event on.

eventArgs EventArgs

The event arguments to pass to the event handler.

BeforeDeactivateAsync(IElement, EventArgs?)

Raises the @onbeforedeactivate event on element, passing the provided eventArgs to the event handler. If eventArgs is null, a new instance of EventArgs will be created.

public static Task BeforeDeactivateAsync(this IElement element, EventArgs? eventArgs = null)

Parameters

element IElement

The element to raise the event on.

eventArgs EventArgs

The event arguments to pass to the event handler.

Returns

Task

A task that completes when the event handler is done.

BeforePaste(IElement, EventArgs?)

Raises the @onbeforepaste event on element, passing the provided eventArgs to the event handler. If eventArgs is null, a new instance of EventArgs will be created.

public static void BeforePaste(this IElement element, EventArgs? eventArgs = null)

Parameters

element IElement

The element to raise the event on.

eventArgs EventArgs

The event arguments to pass to the event handler.

BeforePasteAsync(IElement, EventArgs?)

Raises the @onbeforepaste event on element, passing the provided eventArgs to the event handler. If eventArgs is null, a new instance of EventArgs will be created.

public static Task BeforePasteAsync(this IElement element, EventArgs? eventArgs = null)

Parameters

element IElement

The element to raise the event on.

eventArgs EventArgs

The event arguments to pass to the event handler.

Returns

Task

A task that completes when the event handler is done.

Blur(IElement, FocusEventArgs?)

Raises the @onblur event on element, passing the provided eventArgs to the event handler. If eventArgs is null, a new instance of FocusEventArgs will be created.

public static void Blur(this IElement element, FocusEventArgs? eventArgs = null)

Parameters

element IElement

The element to raise the event on.

eventArgs FocusEventArgs

The event arguments to pass to the event handler.

BlurAsync(IElement, FocusEventArgs?)

Raises the @onblur event on element, passing the provided eventArgs to the event handler. If eventArgs is null, a new instance of FocusEventArgs will be created.

public static Task BlurAsync(this IElement element, FocusEventArgs? eventArgs = null)

Parameters

element IElement

The element to raise the event on.

eventArgs FocusEventArgs

The event arguments to pass to the event handler.

Returns

Task

A task that completes when the event handler is done.

CanPlay(IElement, EventArgs?)

Raises the @oncanplay event on element, passing the provided eventArgs to the event handler. If eventArgs is null, a new instance of EventArgs will be created.

public static void CanPlay(this IElement element, EventArgs? eventArgs = null)

Parameters

element IElement

The element to raise the event on.

eventArgs EventArgs

The event arguments to pass to the event handler.

CanPlayAsync(IElement, EventArgs?)

Raises the @oncanplay event on element, passing the provided eventArgs to the event handler. If eventArgs is null, a new instance of EventArgs will be created.

public static Task CanPlayAsync(this IElement element, EventArgs? eventArgs = null)

Parameters

element IElement

The element to raise the event on.

eventArgs EventArgs

The event arguments to pass to the event handler.

Returns

Task

A task that completes when the event handler is done.

CanPlayThrough(IElement, EventArgs?)

Raises the @oncanplaythrough event on element, passing the provided eventArgs to the event handler. If eventArgs is null, a new instance of EventArgs will be created.

public static void CanPlayThrough(this IElement element, EventArgs? eventArgs = null)

Parameters

element IElement

The element to raise the event on.

eventArgs EventArgs

The event arguments to pass to the event handler.

CanPlayThroughAsync(IElement, EventArgs?)

Raises the @oncanplaythrough event on element, passing the provided eventArgs to the event handler. If eventArgs is null, a new instance of EventArgs will be created.

public static Task CanPlayThroughAsync(this IElement element, EventArgs? eventArgs = null)

Parameters

element IElement

The element to raise the event on.

eventArgs EventArgs

The event arguments to pass to the event handler.

Returns

Task

A task that completes when the event handler is done.

Cancel(IElement, EventArgs?)

Raises the @oncancel event on element, passing the provided eventArgs to the event handler. If eventArgs is null, a new instance of EventArgs will be created.

public static void Cancel(this IElement element, EventArgs? eventArgs = null)

Parameters

element IElement

The element to raise the event on.

eventArgs EventArgs

The event arguments to pass to the event handler.

CancelAsync(IElement, EventArgs?)

Raises the @oncancel event on element, passing the provided eventArgs to the event handler. If eventArgs is null, a new instance of EventArgs will be created.

public static Task CancelAsync(this IElement element, EventArgs? eventArgs = null)

Parameters

element IElement

The element to raise the event on.

eventArgs EventArgs

The event arguments to pass to the event handler.

Returns

Task

A task that completes when the event handler is done.

Change(IElement, ChangeEventArgs?)

Raises the @onchange event on element, passing the provided eventArgs to the event handler. If eventArgs is null, a new instance of ChangeEventArgs will be created.

public static void Change(this IElement element, ChangeEventArgs? eventArgs = null)

Parameters

element IElement

The element to raise the event on.

eventArgs ChangeEventArgs

The event arguments to pass to the event handler.

ChangeAsync(IElement, ChangeEventArgs?)

Raises the @onchange event on element, passing the provided eventArgs to the event handler. If eventArgs is null, a new instance of ChangeEventArgs will be created.

public static Task ChangeAsync(this IElement element, ChangeEventArgs? eventArgs = null)

Parameters

element IElement

The element to raise the event on.

eventArgs ChangeEventArgs

The event arguments to pass to the event handler.

Returns

Task

A task that completes when the event handler is done.

Change<T>(IElement, T)

Raises the @onchange event on element, passing the provided properties to the event handler via a ChangeEventArgs object.

public static void Change<T>(this IElement element, T value)

Parameters

element IElement

The element to raise the event on.

value T

The new value.

Type Parameters

T

Click(IElement, MouseEventArgs?)

Raises the @onclick event on element, passing the provided eventArgs to the event handler. If eventArgs is null, a new instance of MouseEventArgs will be created.

public static void Click(this IElement element, MouseEventArgs? eventArgs = null)

Parameters

element IElement

The element to raise the event on.

eventArgs MouseEventArgs

The event arguments to pass to the event handler.

ClickAsync(IElement, MouseEventArgs?)

Raises the @onclick event on element, passing the provided eventArgs to the event handler. If eventArgs is null, a new instance of MouseEventArgs will be created.

public static Task ClickAsync(this IElement element, MouseEventArgs? eventArgs = null)

Parameters

element IElement

The element to raise the event on.

eventArgs MouseEventArgs

The event arguments to pass to the event handler.

Returns

Task

A task that completes when the event handler is done.

Close(IElement, EventArgs?)

Raises the @onclose event on element, passing the provided eventArgs to the event handler. If eventArgs is null, a new instance of EventArgs will be created.

public static void Close(this IElement element, EventArgs? eventArgs = null)

Parameters

element IElement

The element to raise the event on.

eventArgs EventArgs

The event arguments to pass to the event handler.

CloseAsync(IElement, EventArgs?)

Raises the @onclose event on element, passing the provided eventArgs to the event handler. If eventArgs is null, a new instance of EventArgs will be created.

public static Task CloseAsync(this IElement element, EventArgs? eventArgs = null)

Parameters

element IElement

The element to raise the event on.

eventArgs EventArgs

The event arguments to pass to the event handler.

Returns

Task

A task that completes when the event handler is done.

ContextMenu(IElement, MouseEventArgs?)

Raises the @oncontextmenu event on element, passing the provided eventArgs to the event handler. If eventArgs is null, a new instance of MouseEventArgs will be created.

public static void ContextMenu(this IElement element, MouseEventArgs? eventArgs = null)

Parameters

element IElement

The element to raise the event on.

eventArgs MouseEventArgs

The event arguments to pass to the event handler.

ContextMenuAsync(IElement, MouseEventArgs?)

Raises the @oncontextmenu event on element, passing the provided eventArgs to the event handler. If eventArgs is null, a new instance of MouseEventArgs will be created.

public static Task ContextMenuAsync(this IElement element, MouseEventArgs? eventArgs = null)

Parameters

element IElement

The element to raise the event on.

eventArgs MouseEventArgs

The event arguments to pass to the event handler.

Returns

Task

A task that completes when the event handler is done.

Copy(IElement, ClipboardEventArgs?)

Raises the @oncopy event on element, passing the provided eventArgs to the event handler. If eventArgs is null, a new instance of ClipboardEventArgs will be created.

public static void Copy(this IElement element, ClipboardEventArgs? eventArgs = null)

Parameters

element IElement

The element to raise the event on.

eventArgs ClipboardEventArgs

The event arguments to pass to the event handler.

CopyAsync(IElement, ClipboardEventArgs?)

Raises the @oncopy event on element, passing the provided eventArgs to the event handler. If eventArgs is null, a new instance of ClipboardEventArgs will be created.

public static Task CopyAsync(this IElement element, ClipboardEventArgs? eventArgs = null)

Parameters

element IElement

The element to raise the event on.

eventArgs ClipboardEventArgs

The event arguments to pass to the event handler.

Returns

Task

A task that completes when the event handler is done.

CueChange(IElement, EventArgs?)

Raises the @oncuechange event on element, passing the provided eventArgs to the event handler. If eventArgs is null, a new instance of EventArgs will be created.

public static void CueChange(this IElement element, EventArgs? eventArgs = null)

Parameters

element IElement

The element to raise the event on.

eventArgs EventArgs

The event arguments to pass to the event handler.

CueChangeAsync(IElement, EventArgs?)

Raises the @oncuechange event on element, passing the provided eventArgs to the event handler. If eventArgs is null, a new instance of EventArgs will be created.

public static Task CueChangeAsync(this IElement element, EventArgs? eventArgs = null)

Parameters

element IElement

The element to raise the event on.

eventArgs EventArgs

The event arguments to pass to the event handler.

Returns

Task

A task that completes when the event handler is done.

Cut(IElement, ClipboardEventArgs?)

Raises the @oncut event on element, passing the provided eventArgs to the event handler. If eventArgs is null, a new instance of ClipboardEventArgs will be created.

public static void Cut(this IElement element, ClipboardEventArgs? eventArgs = null)

Parameters

element IElement

The element to raise the event on.

eventArgs ClipboardEventArgs

The event arguments to pass to the event handler.

CutAsync(IElement, ClipboardEventArgs?)

Raises the @oncut event on element, passing the provided eventArgs to the event handler. If eventArgs is null, a new instance of ClipboardEventArgs will be created.

public static Task CutAsync(this IElement element, ClipboardEventArgs? eventArgs = null)

Parameters

element IElement

The element to raise the event on.

eventArgs ClipboardEventArgs

The event arguments to pass to the event handler.

Returns

Task

A task that completes when the event handler is done.

Deactivate(IElement, EventArgs?)

Raises the @ondeactivate event on element, passing the provided eventArgs to the event handler. If eventArgs is null, a new instance of EventArgs will be created.

public static void Deactivate(this IElement element, EventArgs? eventArgs = null)

Parameters

element IElement

The element to raise the event on.

eventArgs EventArgs

The event arguments to pass to the event handler.

DeactivateAsync(IElement, EventArgs?)

Raises the @ondeactivate event on element, passing the provided eventArgs to the event handler. If eventArgs is null, a new instance of EventArgs will be created.

public static Task DeactivateAsync(this IElement element, EventArgs? eventArgs = null)

Parameters

element IElement

The element to raise the event on.

eventArgs EventArgs

The event arguments to pass to the event handler.

Returns

Task

A task that completes when the event handler is done.

DoubleClick(IElement, MouseEventArgs?)

Raises the @ondblclick event on element, passing the provided eventArgs to the event handler. If eventArgs is null, a new instance of MouseEventArgs will be created.

public static void DoubleClick(this IElement element, MouseEventArgs? eventArgs = null)

Parameters

element IElement

The element to raise the event on.

eventArgs MouseEventArgs

The event arguments to pass to the event handler.

DoubleClickAsync(IElement, MouseEventArgs?)

Raises the @ondblclick event on element, passing the provided eventArgs to the event handler. If eventArgs is null, a new instance of MouseEventArgs will be created.

public static Task DoubleClickAsync(this IElement element, MouseEventArgs? eventArgs = null)

Parameters

element IElement

The element to raise the event on.

eventArgs MouseEventArgs

The event arguments to pass to the event handler.

Returns

Task

A task that completes when the event handler is done.

Drag(IElement, DragEventArgs?)

Raises the @ondrag event on element, passing the provided eventArgs to the event handler. If eventArgs is null, a new instance of DragEventArgs will be created.

public static void Drag(this IElement element, DragEventArgs? eventArgs = null)

Parameters

element IElement

The element to raise the event on.

eventArgs DragEventArgs

The event arguments to pass to the event handler.

DragAsync(IElement, DragEventArgs?)

Raises the @ondrag event on element, passing the provided eventArgs to the event handler. If eventArgs is null, a new instance of DragEventArgs will be created.

public static Task DragAsync(this IElement element, DragEventArgs? eventArgs = null)

Parameters

element IElement

The element to raise the event on.

eventArgs DragEventArgs

The event arguments to pass to the event handler.

Returns

Task

A task that completes when the event handler is done.

DragEnd(IElement, DragEventArgs?)

Raises the @ondragend event on element, passing the provided eventArgs to the event handler. If eventArgs is null, a new instance of DragEventArgs will be created.

public static void DragEnd(this IElement element, DragEventArgs? eventArgs = null)

Parameters

element IElement

The element to raise the event on.

eventArgs DragEventArgs

The event arguments to pass to the event handler.

DragEndAsync(IElement, DragEventArgs?)

Raises the @ondragend event on element, passing the provided eventArgs to the event handler. If eventArgs is null, a new instance of DragEventArgs will be created.

public static Task DragEndAsync(this IElement element, DragEventArgs? eventArgs = null)

Parameters

element IElement

The element to raise the event on.

eventArgs DragEventArgs

The event arguments to pass to the event handler.

Returns

Task

A task that completes when the event handler is done.

DragEnter(IElement, DragEventArgs?)

Raises the @ondragenter event on element, passing the provided eventArgs to the event handler. If eventArgs is null, a new instance of DragEventArgs will be created.

public static void DragEnter(this IElement element, DragEventArgs? eventArgs = null)

Parameters

element IElement

The element to raise the event on.

eventArgs DragEventArgs

The event arguments to pass to the event handler.

DragEnterAsync(IElement, DragEventArgs?)

Raises the @ondragenter event on element, passing the provided eventArgs to the event handler. If eventArgs is null, a new instance of DragEventArgs will be created.

public static Task DragEnterAsync(this IElement element, DragEventArgs? eventArgs = null)

Parameters

element IElement

The element to raise the event on.

eventArgs DragEventArgs

The event arguments to pass to the event handler.

Returns

Task

A task that completes when the event handler is done.

DragLeave(IElement, DragEventArgs?)

Raises the @ondragleave event on element, passing the provided eventArgs to the event handler. If eventArgs is null, a new instance of DragEventArgs will be created.

public static void DragLeave(this IElement element, DragEventArgs? eventArgs = null)

Parameters

element IElement

The element to raise the event on.

eventArgs DragEventArgs

The event arguments to pass to the event handler.

DragLeaveAsync(IElement, DragEventArgs?)

Raises the @ondragleave event on element, passing the provided eventArgs to the event handler. If eventArgs is null, a new instance of DragEventArgs will be created.

public static Task DragLeaveAsync(this IElement element, DragEventArgs? eventArgs = null)

Parameters

element IElement

The element to raise the event on.

eventArgs DragEventArgs

The event arguments to pass to the event handler.

Returns

Task

A task that completes when the event handler is done.

DragOver(IElement, DragEventArgs?)

Raises the @ondragover event on element, passing the provided eventArgs to the event handler. If eventArgs is null, a new instance of DragEventArgs will be created.

public static void DragOver(this IElement element, DragEventArgs? eventArgs = null)

Parameters

element IElement

The element to raise the event on.

eventArgs DragEventArgs

The event arguments to pass to the event handler.

DragOverAsync(IElement, DragEventArgs?)

Raises the @ondragover event on element, passing the provided eventArgs to the event handler. If eventArgs is null, a new instance of DragEventArgs will be created.

public static Task DragOverAsync(this IElement element, DragEventArgs? eventArgs = null)

Parameters

element IElement

The element to raise the event on.

eventArgs DragEventArgs

The event arguments to pass to the event handler.

Returns

Task

A task that completes when the event handler is done.

DragStart(IElement, DragEventArgs?)

Raises the @ondragstart event on element, passing the provided eventArgs to the event handler. If eventArgs is null, a new instance of DragEventArgs will be created.

public static void DragStart(this IElement element, DragEventArgs? eventArgs = null)

Parameters

element IElement

The element to raise the event on.

eventArgs DragEventArgs

The event arguments to pass to the event handler.

DragStartAsync(IElement, DragEventArgs?)

Raises the @ondragstart event on element, passing the provided eventArgs to the event handler. If eventArgs is null, a new instance of DragEventArgs will be created.

public static Task DragStartAsync(this IElement element, DragEventArgs? eventArgs = null)

Parameters

element IElement

The element to raise the event on.

eventArgs DragEventArgs

The event arguments to pass to the event handler.

Returns

Task

A task that completes when the event handler is done.

Drop(IElement, DragEventArgs?)

Raises the @ondrop event on element, passing the provided eventArgs to the event handler. If eventArgs is null, a new instance of DragEventArgs will be created.

public static void Drop(this IElement element, DragEventArgs? eventArgs = null)

Parameters

element IElement

The element to raise the event on.

eventArgs DragEventArgs

The event arguments to pass to the event handler.

DropAsync(IElement, DragEventArgs?)

Raises the @ondrop event on element, passing the provided eventArgs to the event handler. If eventArgs is null, a new instance of DragEventArgs will be created.

public static Task DropAsync(this IElement element, DragEventArgs? eventArgs = null)

Parameters

element IElement

The element to raise the event on.

eventArgs DragEventArgs

The event arguments to pass to the event handler.

Returns

Task

A task that completes when the event handler is done.

DurationChange(IElement, EventArgs?)

Raises the @ondurationchange event on element, passing the provided eventArgs to the event handler. If eventArgs is null, a new instance of EventArgs will be created.

public static void DurationChange(this IElement element, EventArgs? eventArgs = null)

Parameters

element IElement

The element to raise the event on.

eventArgs EventArgs

The event arguments to pass to the event handler.

DurationChangeAsync(IElement, EventArgs?)

Raises the @ondurationchange event on element, passing the provided eventArgs to the event handler. If eventArgs is null, a new instance of EventArgs will be created.

public static Task DurationChangeAsync(this IElement element, EventArgs? eventArgs = null)

Parameters

element IElement

The element to raise the event on.

eventArgs EventArgs

The event arguments to pass to the event handler.

Returns

Task

A task that completes when the event handler is done.

Emptied(IElement, EventArgs?)

Raises the @onemptied event on element, passing the provided eventArgs to the event handler. If eventArgs is null, a new instance of EventArgs will be created.

public static void Emptied(this IElement element, EventArgs? eventArgs = null)

Parameters

element IElement

The element to raise the event on.

eventArgs EventArgs

The event arguments to pass to the event handler.

EmptiedAsync(IElement, EventArgs?)

Raises the @onemptied event on element, passing the provided eventArgs to the event handler. If eventArgs is null, a new instance of EventArgs will be created.

public static Task EmptiedAsync(this IElement element, EventArgs? eventArgs = null)

Parameters

element IElement

The element to raise the event on.

eventArgs EventArgs

The event arguments to pass to the event handler.

Returns

Task

A task that completes when the event handler is done.

Ended(IElement, EventArgs?)

Raises the @onended event on element, passing the provided eventArgs to the event handler. If eventArgs is null, a new instance of EventArgs will be created.

public static void Ended(this IElement element, EventArgs? eventArgs = null)

Parameters

element IElement

The element to raise the event on.

eventArgs EventArgs

The event arguments to pass to the event handler.

EndedAsync(IElement, EventArgs?)

Raises the @onended event on element, passing the provided eventArgs to the event handler. If eventArgs is null, a new instance of EventArgs will be created.

public static Task EndedAsync(this IElement element, EventArgs? eventArgs = null)

Parameters

element IElement

The element to raise the event on.

eventArgs EventArgs

The event arguments to pass to the event handler.

Returns

Task

A task that completes when the event handler is done.

Error(IElement, ErrorEventArgs?)

Raises the @onerror event on element, passing the provided eventArgs to the event handler. If eventArgs is null, a new instance of Microsoft.AspNetCore.Components.Web.ErrorEventArgs will be created.

public static void Error(this IElement element, ErrorEventArgs? eventArgs = null)

Parameters

element IElement

The element to raise the event on.

eventArgs ErrorEventArgs

The event arguments to pass to the event handler.

ErrorAsync(IElement, ErrorEventArgs?)

Raises the @onerror event on element, passing the provided eventArgs to the event handler. If eventArgs is null, a new instance of Microsoft.AspNetCore.Components.Web.ErrorEventArgs will be created.

public static Task ErrorAsync(this IElement element, ErrorEventArgs? eventArgs = null)

Parameters

element IElement

The element to raise the event on.

eventArgs ErrorEventArgs

The event arguments to pass to the event handler.

Returns

Task

A task that completes when the event handler is done.

Focus(IElement, FocusEventArgs?)

Raises the @onfocus event on element, passing the provided eventArgs to the event handler. If eventArgs is null, a new instance of FocusEventArgs will be created.

public static void Focus(this IElement element, FocusEventArgs? eventArgs = null)

Parameters

element IElement

The element to raise the event on.

eventArgs FocusEventArgs

The event arguments to pass to the event handler.

FocusAsync(IElement, FocusEventArgs?)

Raises the @onfocus event on element, passing the provided eventArgs to the event handler. If eventArgs is null, a new instance of FocusEventArgs will be created.

public static Task FocusAsync(this IElement element, FocusEventArgs? eventArgs = null)

Parameters

element IElement

The element to raise the event on.

eventArgs FocusEventArgs

The event arguments to pass to the event handler.

Returns

Task

A task that completes when the event handler is done.

FocusIn(IElement, FocusEventArgs?)

Raises the @onfocusin event on element, passing the provided eventArgs to the event handler. If eventArgs is null, a new instance of FocusEventArgs will be created.

public static void FocusIn(this IElement element, FocusEventArgs? eventArgs = null)

Parameters

element IElement

The element to raise the event on.

eventArgs FocusEventArgs

The event arguments to pass to the event handler.

FocusInAsync(IElement, FocusEventArgs?)

Raises the @onfocusin event on element, passing the provided eventArgs to the event handler. If eventArgs is null, a new instance of FocusEventArgs will be created.

public static Task FocusInAsync(this IElement element, FocusEventArgs? eventArgs = null)

Parameters

element IElement

The element to raise the event on.

eventArgs FocusEventArgs

The event arguments to pass to the event handler.

Returns

Task

A task that completes when the event handler is done.

FocusOut(IElement, FocusEventArgs?)

Raises the @onfocusout event on element, passing the provided eventArgs to the event handler. If eventArgs is null, a new instance of FocusEventArgs will be created.

public static void FocusOut(this IElement element, FocusEventArgs? eventArgs = null)

Parameters

element IElement

The element to raise the event on.

eventArgs FocusEventArgs

The event arguments to pass to the event handler.

FocusOutAsync(IElement, FocusEventArgs?)

Raises the @onfocusout event on element, passing the provided eventArgs to the event handler. If eventArgs is null, a new instance of FocusEventArgs will be created.

public static Task FocusOutAsync(this IElement element, FocusEventArgs? eventArgs = null)

Parameters

element IElement

The element to raise the event on.

eventArgs FocusEventArgs

The event arguments to pass to the event handler.

Returns

Task

A task that completes when the event handler is done.

FullScreenChange(IElement, EventArgs?)

Raises the @onfullscreenchange event on element, passing the provided eventArgs to the event handler. If eventArgs is null, a new instance of EventArgs will be created.

public static void FullScreenChange(this IElement element, EventArgs? eventArgs = null)

Parameters

element IElement

The element to raise the event on.

eventArgs EventArgs

The event arguments to pass to the event handler.

FullScreenChangeAsync(IElement, EventArgs?)

Raises the @onfullscreenchange event on element, passing the provided eventArgs to the event handler. If eventArgs is null, a new instance of EventArgs will be created.

public static Task FullScreenChangeAsync(this IElement element, EventArgs? eventArgs = null)

Parameters

element IElement

The element to raise the event on.

eventArgs EventArgs

The event arguments to pass to the event handler.

Returns

Task

A task that completes when the event handler is done.

FullScreenError(IElement, EventArgs?)

Raises the @onfullscreenerror event on element, passing the provided eventArgs to the event handler. If eventArgs is null, a new instance of EventArgs will be created.

public static void FullScreenError(this IElement element, EventArgs? eventArgs = null)

Parameters

element IElement

The element to raise the event on.

eventArgs EventArgs

The event arguments to pass to the event handler.

FullScreenErrorAsync(IElement, EventArgs?)

Raises the @onfullscreenerror event on element, passing the provided eventArgs to the event handler. If eventArgs is null, a new instance of EventArgs will be created.

public static Task FullScreenErrorAsync(this IElement element, EventArgs? eventArgs = null)

Parameters

element IElement

The element to raise the event on.

eventArgs EventArgs

The event arguments to pass to the event handler.

Returns

Task

A task that completes when the event handler is done.

GotPointerCapture(IElement, PointerEventArgs?)

Raises the @ongotpointercapture event on element, passing the provided eventArgs to the event handler. If eventArgs is null, a new instance of PointerEventArgs will be created.

public static void GotPointerCapture(this IElement element, PointerEventArgs? eventArgs = null)

Parameters

element IElement

The element to raise the event on.

eventArgs PointerEventArgs

The event arguments to pass to the event handler.

GotPointerCaptureAsync(IElement, PointerEventArgs?)

Raises the @ongotpointercapture event on element, passing the provided eventArgs to the event handler. If eventArgs is null, a new instance of PointerEventArgs will be created.

public static Task GotPointerCaptureAsync(this IElement element, PointerEventArgs? eventArgs = null)

Parameters

element IElement

The element to raise the event on.

eventArgs PointerEventArgs

The event arguments to pass to the event handler.

Returns

Task

A task that completes when the event handler is done.

Input(IElement, ChangeEventArgs?)

Raises the @oninput event on element, passing the provided eventArgs to the event handler. If eventArgs is null, a new instance of ChangeEventArgs will be created.

public static void Input(this IElement element, ChangeEventArgs? eventArgs = null)

Parameters

element IElement

The element to raise the event on.

eventArgs ChangeEventArgs

The event arguments to pass to the event handler.

InputAsync(IElement, ChangeEventArgs?)

Raises the @oninput event on element, passing the provided eventArgs to the event handler. If eventArgs is null, a new instance of ChangeEventArgs will be created.

public static Task InputAsync(this IElement element, ChangeEventArgs? eventArgs = null)

Parameters

element IElement

The element to raise the event on.

eventArgs ChangeEventArgs

The event arguments to pass to the event handler.

Returns

Task

A task that completes when the event handler is done.

Input<T>(IElement, T)

Raises the @oninput event on element, passing the provided properties to the event handler via a ChangeEventArgs object.

public static void Input<T>(this IElement element, T value)

Parameters

element IElement

The element to raise the event on.

value T

The new value.

Type Parameters

T

Invalid(IElement, EventArgs?)

Raises the @oninvalid event on element, passing the provided eventArgs to the event handler. If eventArgs is null, a new instance of EventArgs will be created.

public static void Invalid(this IElement element, EventArgs? eventArgs = null)

Parameters

element IElement

The element to raise the event on.

eventArgs EventArgs

The event arguments to pass to the event handler.

InvalidAsync(IElement, EventArgs?)

Raises the @oninvalid event on element, passing the provided eventArgs to the event handler. If eventArgs is null, a new instance of EventArgs will be created.

public static Task InvalidAsync(this IElement element, EventArgs? eventArgs = null)

Parameters

element IElement

The element to raise the event on.

eventArgs EventArgs

The event arguments to pass to the event handler.

Returns

Task

A task that completes when the event handler is done.

KeyDown(IElement, Key, bool, string?)

Raises the @onkeydown event on element, passing the provided key to the event handler.

public static void KeyDown(this IElement element, Key key, bool repeat = false, string? type = null)

Parameters

element IElement

The element to raise the event on.

key Key

The keyboard key to pass to the event handler.

repeat bool

true if a key has been depressed long enough to trigger key repetition, otherwise false.

type string

The type of the event.

KeyDown(IElement, KeyboardEventArgs?)

Raises the @onkeydown event on element, passing the provided eventArgs to the event handler. If eventArgs is null, a new instance of KeyboardEventArgs will be created.

public static void KeyDown(this IElement element, KeyboardEventArgs? eventArgs = null)

Parameters

element IElement

The element to raise the event on.

eventArgs KeyboardEventArgs

The event arguments to pass to the event handler.

KeyDownAsync(IElement, Key, bool, string?)

Raises the @onkeydown event on element, passing the provided key to the event handler.

public static Task KeyDownAsync(this IElement element, Key key, bool repeat = false, string? type = null)

Parameters

element IElement

The element to raise the event on.

key Key

The keyboard key to pass to the event handler.

repeat bool

true if a key has been depressed long enough to trigger key repetition, otherwise false.

type string

The type of the event.

Returns

Task

KeyDownAsync(IElement, KeyboardEventArgs?)

Raises the @onkeydown event on element, passing the provided eventArgs to the event handler. If eventArgs is null, a new instance of KeyboardEventArgs will be created.

public static Task KeyDownAsync(this IElement element, KeyboardEventArgs? eventArgs = null)

Parameters

element IElement

The element to raise the event on.

eventArgs KeyboardEventArgs

The event arguments to pass to the event handler.

Returns

Task

A task that completes when the event handler is done.

KeyPress(IElement, Key, bool, string?)

Raises the @onkeypress event on element, passing the provided key to the event handler.

public static void KeyPress(this IElement element, Key key, bool repeat = false, string? type = null)

Parameters

element IElement

The element to raise the event on.

key Key

The keyboard key to pass to the event handler.

repeat bool

true if a key has been depressed long enough to trigger key repetition, otherwise false.

type string

The type of the event.

KeyPress(IElement, KeyboardEventArgs?)

Raises the @onkeypress event on element, passing the provided eventArgs to the event handler. If eventArgs is null, a new instance of KeyboardEventArgs will be created.

public static void KeyPress(this IElement element, KeyboardEventArgs? eventArgs = null)

Parameters

element IElement

The element to raise the event on.

eventArgs KeyboardEventArgs

The event arguments to pass to the event handler.

KeyPressAsync(IElement, Key, bool, string?)

Raises the @onkeypress event on element, passing the provided key to the event handler.

public static Task KeyPressAsync(this IElement element, Key key, bool repeat = false, string? type = null)

Parameters

element IElement

The element to raise the event on.

key Key

The keyboard key to pass to the event handler.

repeat bool

true if a key has been depressed long enough to trigger key repetition, otherwise false.

type string

The type of the event.

Returns

Task

KeyPressAsync(IElement, KeyboardEventArgs?)

Raises the @onkeypress event on element, passing the provided eventArgs to the event handler. If eventArgs is null, a new instance of KeyboardEventArgs will be created.

public static Task KeyPressAsync(this IElement element, KeyboardEventArgs? eventArgs = null)

Parameters

element IElement

The element to raise the event on.

eventArgs KeyboardEventArgs

The event arguments to pass to the event handler.

Returns

Task

A task that completes when the event handler is done.

KeyUp(IElement, Key, bool, string?)

Raises the @onkeyup event on element, passing the provided key to the event handler.

public static void KeyUp(this IElement element, Key key, bool repeat = false, string? type = null)

Parameters

element IElement

The element to raise the event on.

key Key

The keyboard key to pass to the event handler.

repeat bool

true if a key has been depressed long enough to trigger key repetition, otherwise false.

type string

The type of the event.

KeyUp(IElement, KeyboardEventArgs?)

Raises the @onkeyup event on element, passing the provided eventArgs to the event handler. If eventArgs is null, a new instance of KeyboardEventArgs will be created.

public static void KeyUp(this IElement element, KeyboardEventArgs? eventArgs = null)

Parameters

element IElement

The element to raise the event on.

eventArgs KeyboardEventArgs

The event arguments to pass to the event handler.

KeyUpAsync(IElement, Key, bool, string?)

Raises the @onkeyup event on element, passing the provided key to the event handler.

public static Task KeyUpAsync(this IElement element, Key key, bool repeat = false, string? type = null)

Parameters

element IElement

The element to raise the event on.

key Key

The keyboard key to pass to the event handler.

repeat bool

true if a key has been depressed long enough to trigger key repetition, otherwise false.

type string

The type of the event.

Returns

Task

KeyUpAsync(IElement, KeyboardEventArgs?)

Raises the @onkeyup event on element, passing the provided eventArgs to the event handler. If eventArgs is null, a new instance of KeyboardEventArgs will be created.

public static Task KeyUpAsync(this IElement element, KeyboardEventArgs? eventArgs = null)

Parameters

element IElement

The element to raise the event on.

eventArgs KeyboardEventArgs

The event arguments to pass to the event handler.

Returns

Task

A task that completes when the event handler is done.

Load(IElement, ProgressEventArgs?)

Raises the @onload event on element, passing the provided eventArgs to the event handler. If eventArgs is null, a new instance of ProgressEventArgs will be created.

public static void Load(this IElement element, ProgressEventArgs? eventArgs = null)

Parameters

element IElement

The element to raise the event on.

eventArgs ProgressEventArgs

The event arguments to pass to the event handler.

LoadAsync(IElement, ProgressEventArgs?)

Raises the @onload event on element, passing the provided eventArgs to the event handler. If eventArgs is null, a new instance of ProgressEventArgs will be created.

public static Task LoadAsync(this IElement element, ProgressEventArgs? eventArgs = null)

Parameters

element IElement

The element to raise the event on.

eventArgs ProgressEventArgs

The event arguments to pass to the event handler.

Returns

Task

A task that completes when the event handler is done.

LoadEnd(IElement, ProgressEventArgs?)

Raises the @onloadend event on element, passing the provided eventArgs to the event handler. If eventArgs is null, a new instance of ProgressEventArgs will be created.

public static void LoadEnd(this IElement element, ProgressEventArgs? eventArgs = null)

Parameters

element IElement

The element to raise the event on.

eventArgs ProgressEventArgs

The event arguments to pass to the event handler.

LoadEndAsync(IElement, ProgressEventArgs?)

Raises the @onloadend event on element, passing the provided eventArgs to the event handler. If eventArgs is null, a new instance of ProgressEventArgs will be created.

public static Task LoadEndAsync(this IElement element, ProgressEventArgs? eventArgs = null)

Parameters

element IElement

The element to raise the event on.

eventArgs ProgressEventArgs

The event arguments to pass to the event handler.

Returns

Task

A task that completes when the event handler is done.

LoadStart(IElement, ProgressEventArgs?)

Raises the @onloadstart event on element, passing the provided eventArgs to the event handler. If eventArgs is null, a new instance of ProgressEventArgs will be created.

public static void LoadStart(this IElement element, ProgressEventArgs? eventArgs = null)

Parameters

element IElement

The element to raise the event on.

eventArgs ProgressEventArgs

The event arguments to pass to the event handler.

LoadStartAsync(IElement, ProgressEventArgs?)

Raises the @onloadstart event on element, passing the provided eventArgs to the event handler. If eventArgs is null, a new instance of ProgressEventArgs will be created.

public static Task LoadStartAsync(this IElement element, ProgressEventArgs? eventArgs = null)

Parameters

element IElement

The element to raise the event on.

eventArgs ProgressEventArgs

The event arguments to pass to the event handler.

Returns

Task

A task that completes when the event handler is done.

LoadedData(IElement, EventArgs?)

Raises the @onloadeddata event on element, passing the provided eventArgs to the event handler. If eventArgs is null, a new instance of EventArgs will be created.

public static void LoadedData(this IElement element, EventArgs? eventArgs = null)

Parameters

element IElement

The element to raise the event on.

eventArgs EventArgs

The event arguments to pass to the event handler.

LoadedDataAsync(IElement, EventArgs?)

Raises the @onloadeddata event on element, passing the provided eventArgs to the event handler. If eventArgs is null, a new instance of EventArgs will be created.

public static Task LoadedDataAsync(this IElement element, EventArgs? eventArgs = null)

Parameters

element IElement

The element to raise the event on.

eventArgs EventArgs

The event arguments to pass to the event handler.

Returns

Task

A task that completes when the event handler is done.

LoadedMetadata(IElement, EventArgs?)

Raises the @onloadedmetadata event on element, passing the provided eventArgs to the event handler. If eventArgs is null, a new instance of EventArgs will be created.

public static void LoadedMetadata(this IElement element, EventArgs? eventArgs = null)

Parameters

element IElement

The element to raise the event on.

eventArgs EventArgs

The event arguments to pass to the event handler.

LoadedMetadataAsync(IElement, EventArgs?)

Raises the @onloadedmetadata event on element, passing the provided eventArgs to the event handler. If eventArgs is null, a new instance of EventArgs will be created.

public static Task LoadedMetadataAsync(this IElement element, EventArgs? eventArgs = null)

Parameters

element IElement

The element to raise the event on.

eventArgs EventArgs

The event arguments to pass to the event handler.

Returns

Task

A task that completes when the event handler is done.

LostPointerCapture(IElement, PointerEventArgs?)

Raises the @onlostpointercapture event on element, passing the provided eventArgs to the event handler. If eventArgs is null, a new instance of PointerEventArgs will be created.

public static void LostPointerCapture(this IElement element, PointerEventArgs? eventArgs = null)

Parameters

element IElement

The element to raise the event on.

eventArgs PointerEventArgs

The event arguments to pass to the event handler.

LostPointerCaptureAsync(IElement, PointerEventArgs?)

Raises the @onlostpointercapture event on element, passing the provided eventArgs to the event handler. If eventArgs is null, a new instance of PointerEventArgs will be created.

public static Task LostPointerCaptureAsync(this IElement element, PointerEventArgs? eventArgs = null)

Parameters

element IElement

The element to raise the event on.

eventArgs PointerEventArgs

The event arguments to pass to the event handler.

Returns

Task

A task that completes when the event handler is done.

MouseDown(IElement, MouseEventArgs?)

Raises the @onmousedown event on element, passing the provided eventArgs to the event handler. If eventArgs is null, a new instance of MouseEventArgs will be created.

public static void MouseDown(this IElement element, MouseEventArgs? eventArgs = null)

Parameters

element IElement

The element to raise the event on.

eventArgs MouseEventArgs

The event arguments to pass to the event handler.

MouseDownAsync(IElement, MouseEventArgs?)

Raises the @onmousedown event on element, passing the provided eventArgs to the event handler. If eventArgs is null, a new instance of MouseEventArgs will be created.

public static Task MouseDownAsync(this IElement element, MouseEventArgs? eventArgs = null)

Parameters

element IElement

The element to raise the event on.

eventArgs MouseEventArgs

The event arguments to pass to the event handler.

Returns

Task

A task that completes when the event handler is done.

MouseEnter(IElement, MouseEventArgs?)

Raises the @onmouseenter event on element, passing the provided eventArgs to the event handler. If eventArgs is null, a new instance of MouseEventArgs will be created.

public static void MouseEnter(this IElement element, MouseEventArgs? eventArgs = null)

Parameters

element IElement

The element to raise the event on.

eventArgs MouseEventArgs

The event arguments to pass to the event handler.

MouseEnterAsync(IElement, MouseEventArgs?)

Raises the @onmouseenter event on element, passing the provided eventArgs to the event handler. If eventArgs is null, a new instance of MouseEventArgs will be created.

public static Task MouseEnterAsync(this IElement element, MouseEventArgs? eventArgs = null)

Parameters

element IElement

The element to raise the event on.

eventArgs MouseEventArgs

The event arguments to pass to the event handler.

Returns

Task

A task that completes when the event handler is done.

MouseLeave(IElement, MouseEventArgs?)

Raises the @onmouseleave event on element, passing the provided eventArgs to the event handler. If eventArgs is null, a new instance of MouseEventArgs will be created.

public static void MouseLeave(this IElement element, MouseEventArgs? eventArgs = null)

Parameters

element IElement

The element to raise the event on.

eventArgs MouseEventArgs

The event arguments to pass to the event handler.

MouseLeaveAsync(IElement, MouseEventArgs?)

Raises the @onmouseleave event on element, passing the provided eventArgs to the event handler. If eventArgs is null, a new instance of MouseEventArgs will be created.

public static Task MouseLeaveAsync(this IElement element, MouseEventArgs? eventArgs = null)

Parameters

element IElement

The element to raise the event on.

eventArgs MouseEventArgs

The event arguments to pass to the event handler.

Returns

Task

A task that completes when the event handler is done.

MouseMove(IElement, MouseEventArgs?)

Raises the @onmousemove event on element, passing the provided eventArgs to the event handler. If eventArgs is null, a new instance of MouseEventArgs will be created.

public static void MouseMove(this IElement element, MouseEventArgs? eventArgs = null)

Parameters

element IElement

The element to raise the event on.

eventArgs MouseEventArgs

The event arguments to pass to the event handler.

MouseMoveAsync(IElement, MouseEventArgs?)

Raises the @onmousemove event on element, passing the provided eventArgs to the event handler. If eventArgs is null, a new instance of MouseEventArgs will be created.

public static Task MouseMoveAsync(this IElement element, MouseEventArgs? eventArgs = null)

Parameters

element IElement

The element to raise the event on.

eventArgs MouseEventArgs

The event arguments to pass to the event handler.

Returns

Task

A task that completes when the event handler is done.

MouseOut(IElement, MouseEventArgs?)

Raises the @onmouseout event on element, passing the provided eventArgs to the event handler. If eventArgs is null, a new instance of MouseEventArgs will be created.

public static void MouseOut(this IElement element, MouseEventArgs? eventArgs = null)

Parameters

element IElement

The element to raise the event on.

eventArgs MouseEventArgs

The event arguments to pass to the event handler.

MouseOutAsync(IElement, MouseEventArgs?)

Raises the @onmouseout event on element, passing the provided eventArgs to the event handler. If eventArgs is null, a new instance of MouseEventArgs will be created.

public static Task MouseOutAsync(this IElement element, MouseEventArgs? eventArgs = null)

Parameters

element IElement

The element to raise the event on.

eventArgs MouseEventArgs

The event arguments to pass to the event handler.

Returns

Task

A task that completes when the event handler is done.

MouseOver(IElement, MouseEventArgs?)

Raises the @onmouseover event on element, passing the provided eventArgs to the event handler. If eventArgs is null, a new instance of MouseEventArgs will be created.

public static void MouseOver(this IElement element, MouseEventArgs? eventArgs = null)

Parameters

element IElement

The element to raise the event on.

eventArgs MouseEventArgs

The event arguments to pass to the event handler.

MouseOverAsync(IElement, MouseEventArgs?)

Raises the @onmouseover event on element, passing the provided eventArgs to the event handler. If eventArgs is null, a new instance of MouseEventArgs will be created.

public static Task MouseOverAsync(this IElement element, MouseEventArgs? eventArgs = null)

Parameters

element IElement

The element to raise the event on.

eventArgs MouseEventArgs

The event arguments to pass to the event handler.

Returns

Task

A task that completes when the event handler is done.

MouseUp(IElement, MouseEventArgs?)

Raises the @onmouseup event on element, passing the provided eventArgs to the event handler. If eventArgs is null, a new instance of MouseEventArgs will be created.

public static void MouseUp(this IElement element, MouseEventArgs? eventArgs = null)

Parameters

element IElement

The element to raise the event on.

eventArgs MouseEventArgs

The event arguments to pass to the event handler.

MouseUpAsync(IElement, MouseEventArgs?)

Raises the @onmouseup event on element, passing the provided eventArgs to the event handler. If eventArgs is null, a new instance of MouseEventArgs will be created.

public static Task MouseUpAsync(this IElement element, MouseEventArgs? eventArgs = null)

Parameters

element IElement

The element to raise the event on.

eventArgs MouseEventArgs

The event arguments to pass to the event handler.

Returns

Task

A task that completes when the event handler is done.

MouseWheel(IElement, WheelEventArgs?)

Raises the @onmousewheel event on element, passing the provided eventArgs to the event handler. If eventArgs is null, a new instance of WheelEventArgs will be created.

public static void MouseWheel(this IElement element, WheelEventArgs? eventArgs = null)

Parameters

element IElement

The element to raise the event on.

eventArgs WheelEventArgs

The event arguments to pass to the event handler.

MouseWheelAsync(IElement, WheelEventArgs?)

Raises the @onmousewheel event on element, passing the provided eventArgs to the event handler. If eventArgs is null, a new instance of WheelEventArgs will be created.

public static Task MouseWheelAsync(this IElement element, WheelEventArgs? eventArgs = null)

Parameters

element IElement

The element to raise the event on.

eventArgs WheelEventArgs

The event arguments to pass to the event handler.

Returns

Task

A task that completes when the event handler is done.

Paste(IElement, ClipboardEventArgs?)

Raises the @onpaste event on element, passing the provided eventArgs to the event handler. If eventArgs is null, a new instance of ClipboardEventArgs will be created.

public static void Paste(this IElement element, ClipboardEventArgs? eventArgs = null)

Parameters

element IElement

The element to raise the event on.

eventArgs ClipboardEventArgs

The event arguments to pass to the event handler.

PasteAsync(IElement, ClipboardEventArgs?)

Raises the @onpaste event on element, passing the provided eventArgs to the event handler. If eventArgs is null, a new instance of ClipboardEventArgs will be created.

public static Task PasteAsync(this IElement element, ClipboardEventArgs? eventArgs = null)

Parameters

element IElement

The element to raise the event on.

eventArgs ClipboardEventArgs

The event arguments to pass to the event handler.

Returns

Task

A task that completes when the event handler is done.

Pause(IElement, EventArgs?)

Raises the @onpause event on element, passing the provided eventArgs to the event handler. If eventArgs is null, a new instance of EventArgs will be created.

public static void Pause(this IElement element, EventArgs? eventArgs = null)

Parameters

element IElement

The element to raise the event on.

eventArgs EventArgs

The event arguments to pass to the event handler.

PauseAsync(IElement, EventArgs?)

Raises the @onpause event on element, passing the provided eventArgs to the event handler. If eventArgs is null, a new instance of EventArgs will be created.

public static Task PauseAsync(this IElement element, EventArgs? eventArgs = null)

Parameters

element IElement

The element to raise the event on.

eventArgs EventArgs

The event arguments to pass to the event handler.

Returns

Task

A task that completes when the event handler is done.

Play(IElement, EventArgs?)

Raises the @onplay event on element, passing the provided eventArgs to the event handler. If eventArgs is null, a new instance of EventArgs will be created.

public static void Play(this IElement element, EventArgs? eventArgs = null)

Parameters

element IElement

The element to raise the event on.

eventArgs EventArgs

The event arguments to pass to the event handler.

PlayAsync(IElement, EventArgs?)

Raises the @onplay event on element, passing the provided eventArgs to the event handler. If eventArgs is null, a new instance of EventArgs will be created.

public static Task PlayAsync(this IElement element, EventArgs? eventArgs = null)

Parameters

element IElement

The element to raise the event on.

eventArgs EventArgs

The event arguments to pass to the event handler.

Returns

Task

A task that completes when the event handler is done.

Playing(IElement, EventArgs?)

Raises the @onplaying event on element, passing the provided eventArgs to the event handler. If eventArgs is null, a new instance of EventArgs will be created.

public static void Playing(this IElement element, EventArgs? eventArgs = null)

Parameters

element IElement

The element to raise the event on.

eventArgs EventArgs

The event arguments to pass to the event handler.

PlayingAsync(IElement, EventArgs?)

Raises the @onplaying event on element, passing the provided eventArgs to the event handler. If eventArgs is null, a new instance of EventArgs will be created.

public static Task PlayingAsync(this IElement element, EventArgs? eventArgs = null)

Parameters

element IElement

The element to raise the event on.

eventArgs EventArgs

The event arguments to pass to the event handler.

Returns

Task

A task that completes when the event handler is done.

PointerCancel(IElement, PointerEventArgs?)

Raises the @onpointercancel event on element, passing the provided eventArgs to the event handler. If eventArgs is null, a new instance of PointerEventArgs will be created.

public static void PointerCancel(this IElement element, PointerEventArgs? eventArgs = null)

Parameters

element IElement

The element to raise the event on.

eventArgs PointerEventArgs

The event arguments to pass to the event handler.

PointerCancelAsync(IElement, PointerEventArgs?)

Raises the @onpointercancel event on element, passing the provided eventArgs to the event handler. If eventArgs is null, a new instance of PointerEventArgs will be created.

public static Task PointerCancelAsync(this IElement element, PointerEventArgs? eventArgs = null)

Parameters

element IElement

The element to raise the event on.

eventArgs PointerEventArgs

The event arguments to pass to the event handler.

Returns

Task

A task that completes when the event handler is done.

PointerDown(IElement, PointerEventArgs?)

Raises the @onpointerdown event on element, passing the provided eventArgs to the event handler. If eventArgs is null, a new instance of PointerEventArgs will be created.

public static void PointerDown(this IElement element, PointerEventArgs? eventArgs = null)

Parameters

element IElement

The element to raise the event on.

eventArgs PointerEventArgs

The event arguments to pass to the event handler.

PointerDownAsync(IElement, PointerEventArgs?)

Raises the @onpointerdown event on element, passing the provided eventArgs to the event handler. If eventArgs is null, a new instance of PointerEventArgs will be created.

public static Task PointerDownAsync(this IElement element, PointerEventArgs? eventArgs = null)

Parameters

element IElement

The element to raise the event on.

eventArgs PointerEventArgs

The event arguments to pass to the event handler.

Returns

Task

A task that completes when the event handler is done.

PointerEnter(IElement, PointerEventArgs?)

Raises the @onpointerenter event on element, passing the provided eventArgs to the event handler. If eventArgs is null, a new instance of PointerEventArgs will be created.

public static void PointerEnter(this IElement element, PointerEventArgs? eventArgs = null)

Parameters

element IElement

The element to raise the event on.

eventArgs PointerEventArgs

The event arguments to pass to the event handler.

PointerEnterAsync(IElement, PointerEventArgs?)

Raises the @onpointerenter event on element, passing the provided eventArgs to the event handler. If eventArgs is null, a new instance of PointerEventArgs will be created.

public static Task PointerEnterAsync(this IElement element, PointerEventArgs? eventArgs = null)

Parameters

element IElement

The element to raise the event on.

eventArgs PointerEventArgs

The event arguments to pass to the event handler.

Returns

Task

A task that completes when the event handler is done.

PointerLeave(IElement, PointerEventArgs?)

Raises the @onpointerleave event on element, passing the provided eventArgs to the event handler. If eventArgs is null, a new instance of PointerEventArgs will be created.

public static void PointerLeave(this IElement element, PointerEventArgs? eventArgs = null)

Parameters

element IElement

The element to raise the event on.

eventArgs PointerEventArgs

The event arguments to pass to the event handler.

PointerLeaveAsync(IElement, PointerEventArgs?)

Raises the @onpointerleave event on element, passing the provided eventArgs to the event handler. If eventArgs is null, a new instance of PointerEventArgs will be created.

public static Task PointerLeaveAsync(this IElement element, PointerEventArgs? eventArgs = null)

Parameters

element IElement

The element to raise the event on.

eventArgs PointerEventArgs

The event arguments to pass to the event handler.

Returns

Task

A task that completes when the event handler is done.

PointerLockChange(IElement, EventArgs?)

Raises the @onpointerlockchange event on element, passing the provided eventArgs to the event handler. If eventArgs is null, a new instance of EventArgs will be created.

public static void PointerLockChange(this IElement element, EventArgs? eventArgs = null)

Parameters

element IElement

The element to raise the event on.

eventArgs EventArgs

The event arguments to pass to the event handler.

PointerLockChangeAsync(IElement, EventArgs?)

Raises the @onpointerlockchange event on element, passing the provided eventArgs to the event handler. If eventArgs is null, a new instance of EventArgs will be created.

public static Task PointerLockChangeAsync(this IElement element, EventArgs? eventArgs = null)

Parameters

element IElement

The element to raise the event on.

eventArgs EventArgs

The event arguments to pass to the event handler.

Returns

Task

A task that completes when the event handler is done.

PointerLockError(IElement, EventArgs?)

Raises the @onpointerlockerror event on element, passing the provided eventArgs to the event handler. If eventArgs is null, a new instance of EventArgs will be created.

public static void PointerLockError(this IElement element, EventArgs? eventArgs = null)

Parameters

element IElement

The element to raise the event on.

eventArgs EventArgs

The event arguments to pass to the event handler.

PointerLockErrorAsync(IElement, EventArgs?)

Raises the @onpointerlockerror event on element, passing the provided eventArgs to the event handler. If eventArgs is null, a new instance of EventArgs will be created.

public static Task PointerLockErrorAsync(this IElement element, EventArgs? eventArgs = null)

Parameters

element IElement

The element to raise the event on.

eventArgs EventArgs

The event arguments to pass to the event handler.

Returns

Task

A task that completes when the event handler is done.

PointerMove(IElement, PointerEventArgs?)

Raises the @onpointermove event on element, passing the provided eventArgs to the event handler. If eventArgs is null, a new instance of PointerEventArgs will be created.

public static void PointerMove(this IElement element, PointerEventArgs? eventArgs = null)

Parameters

element IElement

The element to raise the event on.

eventArgs PointerEventArgs

The event arguments to pass to the event handler.

PointerMoveAsync(IElement, PointerEventArgs?)

Raises the @onpointermove event on element, passing the provided eventArgs to the event handler. If eventArgs is null, a new instance of PointerEventArgs will be created.

public static Task PointerMoveAsync(this IElement element, PointerEventArgs? eventArgs = null)

Parameters

element IElement

The element to raise the event on.

eventArgs PointerEventArgs

The event arguments to pass to the event handler.

Returns

Task

A task that completes when the event handler is done.

PointerOut(IElement, PointerEventArgs?)

Raises the @onpointerout event on element, passing the provided eventArgs to the event handler. If eventArgs is null, a new instance of PointerEventArgs will be created.

public static void PointerOut(this IElement element, PointerEventArgs? eventArgs = null)

Parameters

element IElement

The element to raise the event on.

eventArgs PointerEventArgs

The event arguments to pass to the event handler.

PointerOutAsync(IElement, PointerEventArgs?)

Raises the @onpointerout event on element, passing the provided eventArgs to the event handler. If eventArgs is null, a new instance of PointerEventArgs will be created.

public static Task PointerOutAsync(this IElement element, PointerEventArgs? eventArgs = null)

Parameters

element IElement

The element to raise the event on.

eventArgs PointerEventArgs

The event arguments to pass to the event handler.

Returns

Task

A task that completes when the event handler is done.

PointerOver(IElement, PointerEventArgs?)

Raises the @onpointerover event on element, passing the provided eventArgs to the event handler. If eventArgs is null, a new instance of PointerEventArgs will be created.

public static void PointerOver(this IElement element, PointerEventArgs? eventArgs = null)

Parameters

element IElement

The element to raise the event on.

eventArgs PointerEventArgs

The event arguments to pass to the event handler.

PointerOverAsync(IElement, PointerEventArgs?)

Raises the @onpointerover event on element, passing the provided eventArgs to the event handler. If eventArgs is null, a new instance of PointerEventArgs will be created.

public static Task PointerOverAsync(this IElement element, PointerEventArgs? eventArgs = null)

Parameters

element IElement

The element to raise the event on.

eventArgs PointerEventArgs

The event arguments to pass to the event handler.

Returns

Task

A task that completes when the event handler is done.

PointerUp(IElement, PointerEventArgs?)

Raises the @onpointerup event on element, passing the provided eventArgs to the event handler. If eventArgs is null, a new instance of PointerEventArgs will be created.

public static void PointerUp(this IElement element, PointerEventArgs? eventArgs = null)

Parameters

element IElement

The element to raise the event on.

eventArgs PointerEventArgs

The event arguments to pass to the event handler.

PointerUpAsync(IElement, PointerEventArgs?)

Raises the @onpointerup event on element, passing the provided eventArgs to the event handler. If eventArgs is null, a new instance of PointerEventArgs will be created.

public static Task PointerUpAsync(this IElement element, PointerEventArgs? eventArgs = null)

Parameters

element IElement

The element to raise the event on.

eventArgs PointerEventArgs

The event arguments to pass to the event handler.

Returns

Task

A task that completes when the event handler is done.

Progress(IElement, ProgressEventArgs?)

Raises the @onprogress event on element, passing the provided eventArgs to the event handler. If eventArgs is null, a new instance of ProgressEventArgs will be created.

public static void Progress(this IElement element, ProgressEventArgs? eventArgs = null)

Parameters

element IElement

The element to raise the event on.

eventArgs ProgressEventArgs

The event arguments to pass to the event handler.

ProgressAsync(IElement, ProgressEventArgs?)

Raises the @onprogress event on element, passing the provided eventArgs to the event handler. If eventArgs is null, a new instance of ProgressEventArgs will be created.

public static Task ProgressAsync(this IElement element, ProgressEventArgs? eventArgs = null)

Parameters

element IElement

The element to raise the event on.

eventArgs ProgressEventArgs

The event arguments to pass to the event handler.

Returns

Task

A task that completes when the event handler is done.

RateChange(IElement, EventArgs?)

Raises the @onratechange event on element, passing the provided eventArgs to the event handler. If eventArgs is null, a new instance of EventArgs will be created.

public static void RateChange(this IElement element, EventArgs? eventArgs = null)

Parameters

element IElement

The element to raise the event on.

eventArgs EventArgs

The event arguments to pass to the event handler.

RateChangeAsync(IElement, EventArgs?)

Raises the @onratechange event on element, passing the provided eventArgs to the event handler. If eventArgs is null, a new instance of EventArgs will be created.

public static Task RateChangeAsync(this IElement element, EventArgs? eventArgs = null)

Parameters

element IElement

The element to raise the event on.

eventArgs EventArgs

The event arguments to pass to the event handler.

Returns

Task

A task that completes when the event handler is done.

ReadyStateChange(IElement, EventArgs?)

Raises the @onreadystatechange event on element, passing the provided eventArgs to the event handler. If eventArgs is null, a new instance of EventArgs will be created.

public static void ReadyStateChange(this IElement element, EventArgs? eventArgs = null)

Parameters

element IElement

The element to raise the event on.

eventArgs EventArgs

The event arguments to pass to the event handler.

ReadyStateChangeAsync(IElement, EventArgs?)

Raises the @onreadystatechange event on element, passing the provided eventArgs to the event handler. If eventArgs is null, a new instance of EventArgs will be created.

public static Task ReadyStateChangeAsync(this IElement element, EventArgs? eventArgs = null)

Parameters

element IElement

The element to raise the event on.

eventArgs EventArgs

The event arguments to pass to the event handler.

Returns

Task

A task that completes when the event handler is done.

Reset(IElement, EventArgs?)

Raises the @onreset event on element, passing the provided eventArgs to the event handler. If eventArgs is null, a new instance of EventArgs will be created.

public static void Reset(this IElement element, EventArgs? eventArgs = null)

Parameters

element IElement

The element to raise the event on.

eventArgs EventArgs

The event arguments to pass to the event handler.

ResetAsync(IElement, EventArgs?)

Raises the @onreset event on element, passing the provided eventArgs to the event handler. If eventArgs is null, a new instance of EventArgs will be created.

public static Task ResetAsync(this IElement element, EventArgs? eventArgs = null)

Parameters

element IElement

The element to raise the event on.

eventArgs EventArgs

The event arguments to pass to the event handler.

Returns

Task

A task that completes when the event handler is done.

Scroll(IElement, EventArgs?)

Raises the @onscroll event on element, passing the provided eventArgs to the event handler. If eventArgs is null, a new instance of EventArgs will be created.

public static void Scroll(this IElement element, EventArgs? eventArgs = null)

Parameters

element IElement

The element to raise the event on.

eventArgs EventArgs

The event arguments to pass to the event handler.

ScrollAsync(IElement, EventArgs?)

Raises the @onscroll event on element, passing the provided eventArgs to the event handler. If eventArgs is null, a new instance of EventArgs will be created.

public static Task ScrollAsync(this IElement element, EventArgs? eventArgs = null)

Parameters

element IElement

The element to raise the event on.

eventArgs EventArgs

The event arguments to pass to the event handler.

Returns

Task

A task that completes when the event handler is done.

Seeked(IElement, EventArgs?)

Raises the @onseeked event on element, passing the provided eventArgs to the event handler. If eventArgs is null, a new instance of EventArgs will be created.

public static void Seeked(this IElement element, EventArgs? eventArgs = null)

Parameters

element IElement

The element to raise the event on.

eventArgs EventArgs

The event arguments to pass to the event handler.

SeekedAsync(IElement, EventArgs?)

Raises the @onseeked event on element, passing the provided eventArgs to the event handler. If eventArgs is null, a new instance of EventArgs will be created.

public static Task SeekedAsync(this IElement element, EventArgs? eventArgs = null)

Parameters

element IElement

The element to raise the event on.

eventArgs EventArgs

The event arguments to pass to the event handler.

Returns

Task

A task that completes when the event handler is done.

Seeking(IElement, EventArgs?)

Raises the @onseeking event on element, passing the provided eventArgs to the event handler. If eventArgs is null, a new instance of EventArgs will be created.

public static void Seeking(this IElement element, EventArgs? eventArgs = null)

Parameters

element IElement

The element to raise the event on.

eventArgs EventArgs

The event arguments to pass to the event handler.

SeekingAsync(IElement, EventArgs?)

Raises the @onseeking event on element, passing the provided eventArgs to the event handler. If eventArgs is null, a new instance of EventArgs will be created.

public static Task SeekingAsync(this IElement element, EventArgs? eventArgs = null)

Parameters

element IElement

The element to raise the event on.

eventArgs EventArgs

The event arguments to pass to the event handler.

Returns

Task

A task that completes when the event handler is done.

Select(IElement, EventArgs?)

Raises the @onselect event on element, passing the provided eventArgs to the event handler. If eventArgs is null, a new instance of EventArgs will be created.

public static void Select(this IElement element, EventArgs? eventArgs = null)

Parameters

element IElement

The element to raise the event on.

eventArgs EventArgs

The event arguments to pass to the event handler.

SelectAsync(IElement, EventArgs?)

Raises the @onselect event on element, passing the provided eventArgs to the event handler. If eventArgs is null, a new instance of EventArgs will be created.

public static Task SelectAsync(this IElement element, EventArgs? eventArgs = null)

Parameters

element IElement

The element to raise the event on.

eventArgs EventArgs

The event arguments to pass to the event handler.

Returns

Task

A task that completes when the event handler is done.

SelectStart(IElement, EventArgs?)

Raises the @onselectstart event on element, passing the provided eventArgs to the event handler. If eventArgs is null, a new instance of EventArgs will be created.

public static void SelectStart(this IElement element, EventArgs? eventArgs = null)

Parameters

element IElement

The element to raise the event on.

eventArgs EventArgs

The event arguments to pass to the event handler.

SelectStartAsync(IElement, EventArgs?)

Raises the @onselectstart event on element, passing the provided eventArgs to the event handler. If eventArgs is null, a new instance of EventArgs will be created.

public static Task SelectStartAsync(this IElement element, EventArgs? eventArgs = null)

Parameters

element IElement

The element to raise the event on.

eventArgs EventArgs

The event arguments to pass to the event handler.

Returns

Task

A task that completes when the event handler is done.

SelectionChange(IElement, EventArgs?)

Raises the @onselectionchange event on element, passing the provided eventArgs to the event handler. If eventArgs is null, a new instance of EventArgs will be created.

public static void SelectionChange(this IElement element, EventArgs? eventArgs = null)

Parameters

element IElement

The element to raise the event on.

eventArgs EventArgs

The event arguments to pass to the event handler.

SelectionChangeAsync(IElement, EventArgs?)

Raises the @onselectionchange event on element, passing the provided eventArgs to the event handler. If eventArgs is null, a new instance of EventArgs will be created.

public static Task SelectionChangeAsync(this IElement element, EventArgs? eventArgs = null)

Parameters

element IElement

The element to raise the event on.

eventArgs EventArgs

The event arguments to pass to the event handler.

Returns

Task

A task that completes when the event handler is done.

Stalled(IElement, EventArgs?)

Raises the @onstalled event on element, passing the provided eventArgs to the event handler. If eventArgs is null, a new instance of EventArgs will be created.

public static void Stalled(this IElement element, EventArgs? eventArgs = null)

Parameters

element IElement

The element to raise the event on.

eventArgs EventArgs

The event arguments to pass to the event handler.

StalledAsync(IElement, EventArgs?)

Raises the @onstalled event on element, passing the provided eventArgs to the event handler. If eventArgs is null, a new instance of EventArgs will be created.

public static Task StalledAsync(this IElement element, EventArgs? eventArgs = null)

Parameters

element IElement

The element to raise the event on.

eventArgs EventArgs

The event arguments to pass to the event handler.

Returns

Task

A task that completes when the event handler is done.

Stop(IElement, EventArgs?)

Raises the @onstop event on element, passing the provided eventArgs to the event handler. If eventArgs is null, a new instance of EventArgs will be created.

public static void Stop(this IElement element, EventArgs? eventArgs = null)

Parameters

element IElement

The element to raise the event on.

eventArgs EventArgs

The event arguments to pass to the event handler.

StopAsync(IElement, EventArgs?)

Raises the @onstop event on element, passing the provided eventArgs to the event handler. If eventArgs is null, a new instance of EventArgs will be created.

public static Task StopAsync(this IElement element, EventArgs? eventArgs = null)

Parameters

element IElement

The element to raise the event on.

eventArgs EventArgs

The event arguments to pass to the event handler.

Returns

Task

A task that completes when the event handler is done.

Submit(IElement, EventArgs?)

Raises the @onsubmit event on element, passing the provided eventArgs to the event handler. If eventArgs is null, a new instance of EventArgs will be created.

public static void Submit(this IElement element, EventArgs? eventArgs = null)

Parameters

element IElement

The element to raise the event on.

eventArgs EventArgs

The event arguments to pass to the event handler.

SubmitAsync(IElement, EventArgs?)

Raises the @onsubmit event on element, passing the provided eventArgs to the event handler. If eventArgs is null, a new instance of EventArgs will be created.

public static Task SubmitAsync(this IElement element, EventArgs? eventArgs = null)

Parameters

element IElement

The element to raise the event on.

eventArgs EventArgs

The event arguments to pass to the event handler.

Returns

Task

A task that completes when the event handler is done.

Suspend(IElement, EventArgs?)

Raises the @onsuspend event on element, passing the provided eventArgs to the event handler. If eventArgs is null, a new instance of EventArgs will be created.

public static void Suspend(this IElement element, EventArgs? eventArgs = null)

Parameters

element IElement

The element to raise the event on.

eventArgs EventArgs

The event arguments to pass to the event handler.

SuspendAsync(IElement, EventArgs?)

Raises the @onsuspend event on element, passing the provided eventArgs to the event handler. If eventArgs is null, a new instance of EventArgs will be created.

public static Task SuspendAsync(this IElement element, EventArgs? eventArgs = null)

Parameters

element IElement

The element to raise the event on.

eventArgs EventArgs

The event arguments to pass to the event handler.

Returns

Task

A task that completes when the event handler is done.

TimeOut(IElement, ProgressEventArgs?)

Raises the @ontimeout event on element, passing the provided eventArgs to the event handler. If eventArgs is null, a new instance of ProgressEventArgs will be created.

public static void TimeOut(this IElement element, ProgressEventArgs? eventArgs = null)

Parameters

element IElement

The element to raise the event on.

eventArgs ProgressEventArgs

The event arguments to pass to the event handler.

TimeOutAsync(IElement, ProgressEventArgs?)

Raises the @ontimeout event on element, passing the provided eventArgs to the event handler. If eventArgs is null, a new instance of ProgressEventArgs will be created.

public static Task TimeOutAsync(this IElement element, ProgressEventArgs? eventArgs = null)

Parameters

element IElement

The element to raise the event on.

eventArgs ProgressEventArgs

The event arguments to pass to the event handler.

Returns

Task

A task that completes when the event handler is done.

TimeUpdate(IElement, EventArgs?)

Raises the @ontimeupdate event on element, passing the provided eventArgs to the event handler. If eventArgs is null, a new instance of EventArgs will be created.

public static void TimeUpdate(this IElement element, EventArgs? eventArgs = null)

Parameters

element IElement

The element to raise the event on.

eventArgs EventArgs

The event arguments to pass to the event handler.

TimeUpdateAsync(IElement, EventArgs?)

Raises the @ontimeupdate event on element, passing the provided eventArgs to the event handler. If eventArgs is null, a new instance of EventArgs will be created.

public static Task TimeUpdateAsync(this IElement element, EventArgs? eventArgs = null)

Parameters

element IElement

The element to raise the event on.

eventArgs EventArgs

The event arguments to pass to the event handler.

Returns

Task

A task that completes when the event handler is done.

Toggle(IElement, EventArgs?)

Raises the @ontoggle event on element, passing the provided eventArgs to the event handler. If eventArgs is null, a new instance of EventArgs will be created.

public static void Toggle(this IElement element, EventArgs? eventArgs = null)

Parameters

element IElement

The element to raise the event on.

eventArgs EventArgs

The event arguments to pass to the event handler.

ToggleAsync(IElement, EventArgs?)

Raises the @ontoggle event on element, passing the provided eventArgs to the event handler. If eventArgs is null, a new instance of EventArgs will be created.

public static Task ToggleAsync(this IElement element, EventArgs? eventArgs = null)

Parameters

element IElement

The element to raise the event on.

eventArgs EventArgs

The event arguments to pass to the event handler.

Returns

Task

A task that completes when the event handler is done.

TouchCancel(IElement, TouchEventArgs?)

Raises the @ontouchcancel event on element, passing the provided eventArgs to the event handler. If eventArgs is null, a new instance of TouchEventArgs will be created.

public static void TouchCancel(this IElement element, TouchEventArgs? eventArgs = null)

Parameters

element IElement

The element to raise the event on.

eventArgs TouchEventArgs

The event arguments to pass to the event handler.

TouchCancelAsync(IElement, TouchEventArgs?)

Raises the @ontouchcancel event on element, passing the provided eventArgs to the event handler. If eventArgs is null, a new instance of TouchEventArgs will be created.

public static Task TouchCancelAsync(this IElement element, TouchEventArgs? eventArgs = null)

Parameters

element IElement

The element to raise the event on.

eventArgs TouchEventArgs

The event arguments to pass to the event handler.

Returns

Task

A task that completes when the event handler is done.

TouchEnd(IElement, TouchEventArgs?)

Raises the @ontouchend event on element, passing the provided eventArgs to the event handler. If eventArgs is null, a new instance of TouchEventArgs will be created.

public static void TouchEnd(this IElement element, TouchEventArgs? eventArgs = null)

Parameters

element IElement

The element to raise the event on.

eventArgs TouchEventArgs

The event arguments to pass to the event handler.

TouchEndAsync(IElement, TouchEventArgs?)

Raises the @ontouchend event on element, passing the provided eventArgs to the event handler. If eventArgs is null, a new instance of TouchEventArgs will be created.

public static Task TouchEndAsync(this IElement element, TouchEventArgs? eventArgs = null)

Parameters

element IElement

The element to raise the event on.

eventArgs TouchEventArgs

The event arguments to pass to the event handler.

Returns

Task

A task that completes when the event handler is done.

TouchEnter(IElement, TouchEventArgs?)

Raises the @ontouchenter event on element, passing the provided eventArgs to the event handler. If eventArgs is null, a new instance of TouchEventArgs will be created.

public static void TouchEnter(this IElement element, TouchEventArgs? eventArgs = null)

Parameters

element IElement

The element to raise the event on.

eventArgs TouchEventArgs

The event arguments to pass to the event handler.

TouchEnterAsync(IElement, TouchEventArgs?)

Raises the @ontouchenter event on element, passing the provided eventArgs to the event handler. If eventArgs is null, a new instance of TouchEventArgs will be created.

public static Task TouchEnterAsync(this IElement element, TouchEventArgs? eventArgs = null)

Parameters

element IElement

The element to raise the event on.

eventArgs TouchEventArgs

The event arguments to pass to the event handler.

Returns

Task

A task that completes when the event handler is done.

TouchLeave(IElement, TouchEventArgs?)

Raises the @ontouchleave event on element, passing the provided eventArgs to the event handler. If eventArgs is null, a new instance of TouchEventArgs will be created.

public static void TouchLeave(this IElement element, TouchEventArgs? eventArgs = null)

Parameters

element IElement

The element to raise the event on.

eventArgs TouchEventArgs

The event arguments to pass to the event handler.

TouchLeaveAsync(IElement, TouchEventArgs?)

Raises the @ontouchleave event on element, passing the provided eventArgs to the event handler. If eventArgs is null, a new instance of TouchEventArgs will be created.

public static Task TouchLeaveAsync(this IElement element, TouchEventArgs? eventArgs = null)

Parameters

element IElement

The element to raise the event on.

eventArgs TouchEventArgs

The event arguments to pass to the event handler.

Returns

Task

A task that completes when the event handler is done.

TouchMove(IElement, TouchEventArgs?)

Raises the @ontouchmove event on element, passing the provided eventArgs to the event handler. If eventArgs is null, a new instance of TouchEventArgs will be created.

public static void TouchMove(this IElement element, TouchEventArgs? eventArgs = null)

Parameters

element IElement

The element to raise the event on.

eventArgs TouchEventArgs

The event arguments to pass to the event handler.

TouchMoveAsync(IElement, TouchEventArgs?)

Raises the @ontouchmove event on element, passing the provided eventArgs to the event handler. If eventArgs is null, a new instance of TouchEventArgs will be created.

public static Task TouchMoveAsync(this IElement element, TouchEventArgs? eventArgs = null)

Parameters

element IElement

The element to raise the event on.

eventArgs TouchEventArgs

The event arguments to pass to the event handler.

Returns

Task

A task that completes when the event handler is done.

TouchStart(IElement, TouchEventArgs?)

Raises the @ontouchstart event on element, passing the provided eventArgs to the event handler. If eventArgs is null, a new instance of TouchEventArgs will be created.

public static void TouchStart(this IElement element, TouchEventArgs? eventArgs = null)

Parameters

element IElement

The element to raise the event on.

eventArgs TouchEventArgs

The event arguments to pass to the event handler.

TouchStartAsync(IElement, TouchEventArgs?)

Raises the @ontouchstart event on element, passing the provided eventArgs to the event handler. If eventArgs is null, a new instance of TouchEventArgs will be created.

public static Task TouchStartAsync(this IElement element, TouchEventArgs? eventArgs = null)

Parameters

element IElement

The element to raise the event on.

eventArgs TouchEventArgs

The event arguments to pass to the event handler.

Returns

Task

A task that completes when the event handler is done.

VolumeChange(IElement, EventArgs?)

Raises the @onvolumechange event on element, passing the provided eventArgs to the event handler. If eventArgs is null, a new instance of EventArgs will be created.

public static void VolumeChange(this IElement element, EventArgs? eventArgs = null)

Parameters

element IElement

The element to raise the event on.

eventArgs EventArgs

The event arguments to pass to the event handler.

VolumeChangeAsync(IElement, EventArgs?)

Raises the @onvolumechange event on element, passing the provided eventArgs to the event handler. If eventArgs is null, a new instance of EventArgs will be created.

public static Task VolumeChangeAsync(this IElement element, EventArgs? eventArgs = null)

Parameters

element IElement

The element to raise the event on.

eventArgs EventArgs

The event arguments to pass to the event handler.

Returns

Task

A task that completes when the event handler is done.

Waiting(IElement, EventArgs?)

Raises the @onwaiting event on element, passing the provided eventArgs to the event handler. If eventArgs is null, a new instance of EventArgs will be created.

public static void Waiting(this IElement element, EventArgs? eventArgs = null)

Parameters

element IElement

The element to raise the event on.

eventArgs EventArgs

The event arguments to pass to the event handler.

WaitingAsync(IElement, EventArgs?)

Raises the @onwaiting event on element, passing the provided eventArgs to the event handler. If eventArgs is null, a new instance of EventArgs will be created.

public static Task WaitingAsync(this IElement element, EventArgs? eventArgs = null)

Parameters

element IElement

The element to raise the event on.

eventArgs EventArgs

The event arguments to pass to the event handler.

Returns

Task

A task that completes when the event handler is done.

Wheel(IElement, WheelEventArgs?)

Raises the @onwheel event on element, passing the provided eventArgs to the event handler. If eventArgs is null, a new instance of WheelEventArgs will be created.

public static void Wheel(this IElement element, WheelEventArgs? eventArgs = null)

Parameters

element IElement

The element to raise the event on.

eventArgs WheelEventArgs

The event arguments to pass to the event handler.

WheelAsync(IElement, WheelEventArgs?)

Raises the @onwheel event on element, passing the provided eventArgs to the event handler. If eventArgs is null, a new instance of WheelEventArgs will be created.

public static Task WheelAsync(this IElement element, WheelEventArgs? eventArgs = null)

Parameters

element IElement

The element to raise the event on.

eventArgs WheelEventArgs

The event arguments to pass to the event handler.

Returns

Task

A task that completes when the event handler is done.

.NET Foundation

Supported by the .NET Foundation.