ContentDialogPlacement Enum

Definition

Defines constants that specify where in the XAML visual tree a ContentDialog is rooted.

C#
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.UI.Xaml.WinUIContract), 65536)]
public enum ContentDialogPlacement
Inheritance
ContentDialogPlacement
Attributes

Fields

Name Value Description
Popup 0

The dialog is rooted in the PopupRoot element of the XAML Window.

InPlace 1

If the dialog has a parent element, the dialog is rooted in the parent's visual tree. Otherwise, it falls back to the Popup behavior.

Applies to

Product Versions
Windows App SDK 0.8, 1.0, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6