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. |
The source of the event (usually, an object that raises the event). |
args | TEvent |
The event data associated with the event. |
See Also