Method ListenWhenLoaded
ListenWhenLoaded(Window)
Creates an observable sequence that emits a single Unit value when the Window is loaded. If the Window is already loaded when subscribing, it emits the value immediately.
Declaration
public static IObservable<Unit> ListenWhenLoaded(this Window window)
Parameters
Type | Name | Description |
---|---|---|
Window | window | The Window to observe for loading. |
Returns
Type | Description |
---|---|
IObservable<Unit> | An observable sequence that emits a single Unit value when the Window is loaded. |