Class BaseDialog
Base class for Dialogs (Dialog, AlertDialog, etc).
Implements
Inherited Members
Namespace: Unity.AppUI.UI
Assembly: solution.dll
Syntax
public abstract class BaseDialog : VisualElement, IEventHandler, ITransform, ITransitionAnimations, IExperimentalFeatures, IVisualElementScheduler, IResolvedStyle, ISizeableElement
Constructors
| Name | Description |
|---|---|
| BaseDialog() | Default constructor. |
Fields
| Name | Description |
|---|---|
| buttonGroupUssClassName | The Dialog button group styling class. |
| contentUssClassName | The Dialog content styling class. |
| dividerUssClassName | The Dialog divider styling class. |
| headerUssClassName | The Dialog header styling class. |
| headingUssClassName | The Dialog heading styling class. |
| m_ActionContainer | The container for the Dialog actions (buttons). |
| m_Content | The Dialog content. |
| m_Divider | The Dialog header divider. |
| m_Header | The Dialog header. |
| m_Heading | The Dialog heading. |
| sizeUssClassName | The Dialog size styling class. |
| ussClassName | The Dialog main styling class. |
Properties
| Name | Description |
|---|---|
| actionContainer | The Dialog action container. |
| contentContainer | The Dialog content container. |
| description | The Dialog description. This is the text displayed in the content container. |
| size | The Dialog size. |
| title | The Dialog title. |
Methods
| Name | Description |
|---|---|
| RefreshHeading() | Refresh the heading visibility. |
| 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. |