Class Tooltip
The tooltip popup type.
Inherited Members
Namespace: Unity.AppUI.UI
Assembly: solution.dll
Syntax
public sealed class Tooltip : AnchorPopup<Tooltip>
Fields
| Name | Description |
|---|---|
| defaultPlacement | The default placement of the tooltip. |
Properties
| Name | Description |
|---|---|
| template | The template to display inside the popup. |
| text | The text to display inside the popup. |
Methods
| Name | Description |
|---|---|
| AnimateViewIn() | Start the animation for this popup. |
| AnimateViewOut(DismissType) | Start the hide animation for this popup. |
| Build(VisualElement) | Build a new Tooltip.
|
| FindSuitableParent(VisualElement) | Find the parent VisualElement where the popup will be added.
|
| SetContent(VisualElement) | Set the content of the tooltip. |
| SetText(string) | Set a new value for the text property. |
| ShouldAnimate() | Implement this method to know if the popup should call AnimateViewIn() and AnimateViewOut(DismissType) methods or not. |