ContentDialogPlacement Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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. |