# GraffitiTooltip
Class Inherits GraffitiWebUIControl
## About
Add tooltips practically anywhere you can think of! Show them when and how you want!
## Compatibility
### Framework API Version
| 1.0 | 2.0 |
| :---: | :---: |
| True | True |
### Web
| 32-Bit | 64-Bit |
| :---: | :---: |
| True | True |
## Enumerations
| Name | Value | Description |
| --- | :---: | --- |
| Positions | Coordinates <br> TopLeft <br> TopRight <br> TopCenter <br> CenterLeft <br> CenterRight <br> BottomLeft <br> BottomCenter <br> BottomRight | Supported tooltip placement positions. |
| TipStyles | Plain <br> Light <br> Dark <br> Red <br> Green <br> Blue <br> Bootstrap <br> Tipsy <br> YouTube <br> JTools <br> Tipped | Supported tooltip display styles. |
| Triggers | Hover <br> Click <br> Focus <br> Manual | Supported tooltip display triggers. |
## Event Definitions
| Name | Parameters | Return Type | Description |
| --- | :---: | :---: | --- |
| Open | (None) | (None) | |
| Shown | (None) | (None) | |
| ValueChange | (None) | (None) | |
## Methods
| Name | Parameters | Return Type | Description |
| --- | :---: | :---: | --- |
| Bind | BindTo as GraffitiToolbarItem <br> Title as String <br> HTMLContent as String <br> TipStyle as TipStyles <br> Trigger as Triggers <br> IsRounded as Boolean = False <br> HasShadow as Boolean = False <br> Position as Positions <br> PositionX as Integer = 0 <br> PositionY as Integer = 0 <br> ShowDelay as Integer = 500 | (None) | Create a tooltip and bind it to the control signified by BindTo. |
| Bind | BindTo as WebControl <br> Title as String <br> HTMLContent as String <br> TipStyle as TipStyles <br> Trigger as Triggers <br> IsRounded as Boolean = False <br> HasShadow as Boolean = False <br> Position as Positions <br> PositionX as Integer = 0 <br> PositionY as Integer = 0 <br> ShowDelay as Integer = 500 | (None) | Create a tooltip and bind it to the control signified by BindTo. |
| BindWithContainer | BindTo as WebControl <br> Title as String <br> ContainerContent as WebContainer <br> TipStyle as TipStyles <br> Trigger as Triggers <br> IsRounded as Boolean = False <br> HasShadow as Boolean = False <br> Position as Positions <br> ShowDelay as Integer = 500 | (None) | Create a tooltip with a WebContainer as content, and bind it to the control signified by BindTo. |
| Constructor | (None) | (None) | Creates a new instance of the class. |
| Hide | theControl as WebControl | (None) | Hide the tooltip bound to theControl. |
| HideAll | (None) | (None) | Hides all tooltips. |
| Reposition | theControl as WebControl | (None) | Forces the control’s tooltip to reposition itself. |
| Show | theControl as WebControl | (None) | Show the tooltip bound to theControl. |
| ShowAll | (None) | (None) | Shows all tooltips. |
| Unbind | theControl as WebControl | (None) | Unbind the tooltip from theControl, and remove it from the page. |
| UnbindAll | (None) | (None) | Unbind and remove all tooltips. |
| UnbindMultiple | ParamArray theControls as WebControl | (None) | Unbind and remove tooltips for the controls signified in the ParamArray. |