Udostępnij za pośrednictwem


IApplication.CreateWindow(IActivationState) Method

Definition

Instantiate a new window.

public:
 Microsoft::Maui::IWindow ^ CreateWindow(Microsoft::Maui::IActivationState ^ activationState);
public Microsoft.Maui.IWindow CreateWindow (Microsoft.Maui.IActivationState? activationState);
abstract member CreateWindow : Microsoft.Maui.IActivationState -> Microsoft.Maui.IWindow
Public Function CreateWindow (activationState As IActivationState) As IWindow

Parameters

activationState
IActivationState

Argument containing specific information on each platform.

Returns

The created window.

Applies to