IModalNavigationHost.IsWindowReady Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a value indicating whether the framework side of the window is ready for modal presentation: the window and its page both have handlers.
public:
property bool IsWindowReady { bool get(); };
public bool IsWindowReady { get; }
member this.IsWindowReady : bool
Public ReadOnly Property IsWindowReady As Boolean
Property Value
Remarks
This intentionally does not include IsReady. Implementations are expected to combine it with their own conditions, for example public bool IsReady => _host.IsWindowReady && _nativeWindowIsRealized;. Because the framework folds IsReady into its own overall readiness separately, a host property that already included it would recurse into an uncatchable StackOverflowException.
Consulting this from IsReady is optional. The framework never calls PushModalAsync(Page, Boolean) or PopModalAsync(Page, Boolean) unless this is already true.