Enum PopupPresentationType
By providing a type prop, you can specify the type of Dialog that is rendered by your DialogTrigger.
Namespace: Unity.AppUI.UI
Assembly: Unity.AppUI.dll
Syntax
public enum PopupPresentationType
Remarks
Note that pressing the Esc key will close the Dialog regardless of its type.
Fields
Name | Description |
---|---|
FullScreen | Fullscreen Dialogs are a fullscreen variant of the Modal Dialog, only revealing a small portion of the page behind the underlay. Use this variant for more complex workflows that do not fit in the available Modal Dialog sizes. This variant does not support dismissible. |
FullScreenTakeOver | Fullscreen takeover Dialogs are similar to the fullscreen variant except that the Dialog covers the entire screen. |
Modal | Modal Dialogs create an underlay that blocks access to the underlying user interface until the Dialog is closed. Sizing options can be found on the Dialog page. Focus is trapped inside the Modal. |
Popover | If a Dialog without an underlay is needed, consider using a Popover Dialog. See Dialog placement for how you can customize the positioning. Note that popovers are automatically rendered as modals on mobile by default. See the mobile type option for more information. |
Tray | Tray Dialogs are typically used to portray information on mobile devices or smaller screens. |