WeakSubscriber.IHandler<TEventArgs>.OnEvent(Object, TEventArgs) Method
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
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