Class Dialog
Dialog UI element.
Implements
Inherited Members
Namespace: Unity.AppUI.UI
Assembly: solution.dll
Syntax
public class Dialog : BaseDialog, IEventHandler, ITransform, ITransitionAnimations, IExperimentalFeatures, IVisualElementScheduler, IResolvedStyle, ISizeableElement, IDismissInvocator
Constructors
| Name | Description |
|---|---|
| Dialog() | Default constructor. |
Fields
| Name | Description |
|---|---|
| closeButtonUssClassName | The Dialog close button styling class. |
| dismissableUssClassName | The Dialog dismissable mode styling class. |
Properties
| Name | Description |
|---|---|
| closeButton | The close button.
|
| dismissable | Set the Dialog dismissable by itself using a closeButton. |
Methods
| Name | Description |
|---|---|
| ShouldHideHeading() | Check if the heading should be hidden. Override this method to change the default behavior. By default, the heading is hidden if the title is null or empty. |
Events
| Name | Description |
|---|---|
| dismissRequested | Event fired when the Dialog is dismissed. |