IApplication.CreateWindow(IActivationState) Method
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.
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.