Skip to main content

WeakEvent<TEventHandler, TEventArgs>.Add(TEventHandler) Method

Adds the event handler to the WeakEvent<TEventHandler, TEventArgs> instance.

Namespace: DevExpress.Maui.Mvvm

Assembly: DevExpress.Maui.Mvvm.dll

NuGet Package: DevExpress.Maui.Mvvm

Declaration

public void Add(
    TEventHandler handler
)

Parameters

Name Type Description
handler TEventHandler

The target event handler.

See Also