Method SetTooltipTemplate
SetTooltipTemplate(VisualElement, VisualElement)
Set the tooltip template for a VisualElement.
Declaration
public static void SetTooltipTemplate(this VisualElement element, VisualElement template)
Parameters
| Type | Name | Description | 
|---|---|---|
| VisualElement | element | The target visual element.  | 
    
| VisualElement | template | The tooltip template.  | 
    
Exceptions
| Type | Condition | 
|---|---|
| ArgumentNullException | The VisualElement object can't be null.  |