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.

Применяется к