Class Popover
A popup usually anchored to another UI element.
Inherited Members
Namespace: Unity.AppUI.UI
Assembly: solution.dll
Syntax
public sealed class Popover : AnchorPopup<Popover>
Properties
| Name | Description |
|---|---|
| modalBackdrop | Enable or disable the blocking of outside click events. |
Methods
| Name | Description |
|---|---|
| Build(VisualElement, VisualElement) | Build a new Popover instance. |
| GetFocusableElement() | Returns the element that will be focused when the view will become visible. The default value is `null`. |
| GetMovableElement() | Method which must return the visual element that needs to be moved, based on the anchor position and size. |
| InvokeDismissedEventHandlers(DismissType) | Called when the popup has been dismissed. This method will invoke any handlers attached to the dismissed event. |
| SetModalBackdrop(bool) | Enable or disable the blocking of outside click events. |
| ShouldAnimate() | Implement this method to know if the popup should call AnimateViewIn() and AnimateViewOut(DismissType) methods or not. |