Skip to content

ContentDialogService.SetContentPresenter(ContentPresenter) method

Defined in

Type: ContentDialogService Namespace: CrissCross.WPF.UI Assembly: CrissCross.WPF.UI.dll

Applies to

net10.0-windows10.0.19041, net9.0-windows10.0.19041, net8.0-windows10.0.19041, net481

public void SetContentPresenter(ContentPresenter contentPresenter)

Inherited documentation

These docs were inherited from IContentDialogService. The member doesn't override them on this type.

Summary: Sets the ContentPresenter.

Parameters

NameTypeDescription
contentPresenterContentPresenterContentPresenter inside of which the dialogue will be placed. The new [ContentDialog](# will replace the current Content.