ContentDialogPlacement Enum

Definition

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

public enum class ContentDialogPlacement
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.UI.Xaml.WinUIContract, 65536)]
enum class ContentDialogPlacement
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.UI.Xaml.WinUIContract), 65536)]
public enum ContentDialogPlacement
Public Enum ContentDialogPlacement
Inheritance
ContentDialogPlacement
Attributes

Fields

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.

Popup 0

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

Applies to