AppWindow.Create 메서드

정의

오버로드

Create()

스타일 및 속성이 기본 OverlappedPresenter의 로 설정된 앱 창을 만듭니다.

Create(AppWindowPresenter)

지정된 AppWindowPresenter에 정의된 대로 스타일 및 속성이 있는 창을 만듭니다.

Create(AppWindowPresenter, WindowId)

지정된 창에 정의되고 지정된 AppWindowPresenter 창에 부모로 지정된 스타일 및 속성이 있는 창을 만듭니다.

Create(AppWindowPresenter, WindowId, DispatcherQueue)

지정된 AppWindowPresenter창에 정의된 스타일 및 속성을 사용하여 창을 만들고, 지정된 창에 부모로 지정하고, 지정된 DispatcherQueue와 연결된 창을 만듭니다.

Create()

스타일 및 속성이 기본 OverlappedPresenter의 로 설정된 앱 창을 만듭니다.

public:
 static AppWindow ^ Create();
/// [Windows.Foundation.Metadata.Overload("Create")]
 static AppWindow Create();
[Windows.Foundation.Metadata.Overload("Create")]
public static AppWindow Create();
function create()
Public Shared Function Create () As AppWindow

반환

기본 구성이 있는 새 앱 창입니다.

특성

추가 정보

적용 대상

Create(AppWindowPresenter)

지정된 AppWindowPresenter에 정의된 대로 스타일 및 속성이 있는 창을 만듭니다.

public:
 static AppWindow ^ Create(AppWindowPresenter ^ appWindowPresenter);
/// [Windows.Foundation.Metadata.Overload("CreateWithPresenter")]
 static AppWindow Create(AppWindowPresenter const& appWindowPresenter);
[Windows.Foundation.Metadata.Overload("CreateWithPresenter")]
public static AppWindow Create(AppWindowPresenter appWindowPresenter);
function create(appWindowPresenter)
Public Shared Function Create (appWindowPresenter As AppWindowPresenter) As AppWindow

매개 변수

appWindowPresenter
AppWindowPresenter

AppWindowPresenter 창에 적용할 속성 값을 지정하는 개체입니다.

반환

지정된 구성이 있는 새 앱 창입니다.

특성

추가 정보

적용 대상

Create(AppWindowPresenter, WindowId)

지정된 창에 정의되고 지정된 AppWindowPresenter 창에 부모로 지정된 스타일 및 속성이 있는 창을 만듭니다.

public:
 static AppWindow ^ Create(AppWindowPresenter ^ appWindowPresenter, WindowId ownerWindowId);
/// [Windows.Foundation.Metadata.Overload("CreateWithPresenterAndOwner")]
 static AppWindow Create(AppWindowPresenter const& appWindowPresenter, WindowId const& ownerWindowId);
[Windows.Foundation.Metadata.Overload("CreateWithPresenterAndOwner")]
public static AppWindow Create(AppWindowPresenter appWindowPresenter, WindowId ownerWindowId);
function create(appWindowPresenter, ownerWindowId)
Public Shared Function Create (appWindowPresenter As AppWindowPresenter, ownerWindowId As WindowId) As AppWindow

매개 변수

appWindowPresenter
AppWindowPresenter

AppWindowPresenter 창에 적용할 속성 값을 지정하는 개체입니다.

ownerWindowId
WindowId

새 창에 대한 부모 창의 ID입니다.

반환

지정된 구성이 있는 새 앱 창입니다.

특성

설명

이 창을 소유 창으로 만들려면 소유자로 지정할 창의 ID 를 매개 변수에 ownerWindowId 전달합니다. 은 ownerWindowId 구성이 적용된 창과 동일한 프로세스의 WindowId 여야 합니다.

ContextMenu, Dialog 및 ToolWindow 구성을 사용하려면 창을 만들 때 이 속성을 설정해야 성공적으로 적용할 수 있습니다.

추가 정보

적용 대상

Create(AppWindowPresenter, WindowId, DispatcherQueue)

지정된 AppWindowPresenter창에 정의된 스타일 및 속성을 사용하여 창을 만들고, 지정된 창에 부모로 지정하고, 지정된 DispatcherQueue와 연결된 창을 만듭니다.

public:
 static AppWindow ^ Create(AppWindowPresenter ^ appWindowPresenter, WindowId ownerWindowId, DispatcherQueue ^ DispatcherQueue);
/// [Windows.Foundation.Metadata.Overload("CreateWithDispatcherQueue")]
 static AppWindow Create(AppWindowPresenter const& appWindowPresenter, WindowId const& ownerWindowId, DispatcherQueue const& DispatcherQueue);
[Windows.Foundation.Metadata.Overload("CreateWithDispatcherQueue")]
public static AppWindow Create(AppWindowPresenter appWindowPresenter, WindowId ownerWindowId, DispatcherQueue DispatcherQueue);
function create(appWindowPresenter, ownerWindowId, DispatcherQueue)
Public Shared Function Create (appWindowPresenter As AppWindowPresenter, ownerWindowId As WindowId, DispatcherQueue As DispatcherQueue) As AppWindow

매개 변수

appWindowPresenter
AppWindowPresenter

AppWindowPresenter 창에 적용할 속성 값을 지정하는 개체입니다.

ownerWindowId
WindowId

새 창에 대한 부모 창의 ID입니다.

DispatcherQueue
DispatcherQueue

새 창과 연결할 디스패처 큐입니다.

반환

지정된 구성이 있는 새 앱 창입니다.

특성

적용 대상