Skip to content

ContentDialog() constructor

Defined in

Type: ContentDialog Namespace: CrissCross.WPF.UI.Controls Assembly: CrissCross.WPF.UI.dll

Applies to

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

Overloads

  • 1. public ContentDialog()
  • 2. public ContentDialog(ContentPresenter contentPresenter)

1. Overload

public ContentDialog()

Summary: Initializes a new instance of the ContentDialog class.

2. Overload

public ContentDialog(ContentPresenter contentPresenter)

Summary: Initializes a new instance of the ContentDialog class.

Parameters

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