Method ListenWhenClosed
ListenWhenClosed(Window)
Creates an observable sequence that emits a single Unit value when the Window is closed.
Declaration
public static IObservable<Unit> ListenWhenClosed(this Window window)
Parameters
Type | Name | Description |
---|---|---|
Window | window | The Window to observe for closure. |
Returns
Type | Description |
---|---|
IObservable<Unit> | An observable sequence that emits a single Unit value when the Window is closed. |