Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

WeakSubscriber.IHandler<TEventArgs>.OnEvent(Object, TEventArgs) Method

In This Article

Invokes when an event occurs. The method specifies a mechanism that handles the event within the context of a weak subscription, where the handler is weakly referenced to avoid memory leaks.

Namespace: DevExpress.Maui.Mvvm

Assembly: DevExpress.Maui.Mvvm.dll

NuGet Package: DevExpress.Maui.Mvvm

#Declaration

C#
void OnEvent(
    object sender,
    TEventArgs args
)

#Parameters

Name Type Description
sender System.Object

The source of the event (usually, an object that raises the event).

args TEventArgs

The event data associated with the event.

See Also