Method SetPreferredTooltipPlacement
SetPreferredTooltipPlacement(VisualElement, PopoverPlacement)
Set a preferred Tooltip placement.
Declaration
public static void SetPreferredTooltipPlacement(this VisualElement element, PopoverPlacement placement)
Parameters
| Type | Name | Description |
|---|---|---|
| VisualElement | element | The target visual element. |
| PopoverPlacement | placement | The placement value. |
Exceptions
| Type | Condition |
|---|---|
| ArgumentNullException | The VisualElement object can't be null. |