AppWindow.SetPresenter メソッド

定義

オーバーロード

SetPresenter(AppWindowPresenter)

指定した発表者をウィンドウに適用します。

SetPresenter(AppWindowPresenterKind)

指定した発表者の種類をウィンドウに適用します。

SetPresenter(AppWindowPresenter)

指定した発表者をウィンドウに適用します。

public:
 virtual void SetPresenter(AppWindowPresenter ^ appWindowPresenter) = SetPresenter;
/// [Windows.Foundation.Metadata.DefaultOverload]
/// [Windows.Foundation.Metadata.Overload("SetPresenter")]
void SetPresenter(AppWindowPresenter const& appWindowPresenter);
[Windows.Foundation.Metadata.DefaultOverload]
[Windows.Foundation.Metadata.Overload("SetPresenter")]
public void SetPresenter(AppWindowPresenter appWindowPresenter);
function setPresenter(appWindowPresenter)
Public Sub SetPresenter (appWindowPresenter As AppWindowPresenter)

パラメーター

appWindowPresenter
AppWindowPresenter

ウィンドウに適用する発表者。

属性

注釈

発表者が設定されている場合、その発表者に加えられた変更は、ウィンドウですぐに有効になります。

ウィンドウから現在の発表者を削除するには、このメソッドを呼び出し、別の発表者を指定します。

適用対象

SetPresenter(AppWindowPresenterKind)

指定した発表者の種類をウィンドウに適用します。

public:
 virtual void SetPresenter(AppWindowPresenterKind appWindowPresenterKind) = SetPresenter;
/// [Windows.Foundation.Metadata.Overload("SetPresenterByKind")]
void SetPresenter(AppWindowPresenterKind const& appWindowPresenterKind);
[Windows.Foundation.Metadata.Overload("SetPresenterByKind")]
public void SetPresenter(AppWindowPresenterKind appWindowPresenterKind);
function setPresenter(appWindowPresenterKind)
Public Sub SetPresenter (appWindowPresenterKind As AppWindowPresenterKind)

パラメーター

appWindowPresenterKind
AppWindowPresenterKind

ウィンドウに適用する発表者の種類。

属性

注釈

このメソッドを パラメーターとして AppWindowPresenterKind.Default と共に呼び出して、 OverlappedPresenter を適用します。

適用対象