# HtmlToolTip Control

`HtmlRenderer.HtmlToolTip`
Extends `System.Windows.Forms.ToolTip`

> Inherits directly from System.Windows.Forms.ToolTip, the only difference is that the ToolTip text will be interpreted as HTML. All HTML Renderer Rules apply.
> Try the Sample Form and place the mouse over the button to change the ToolTip of the button.

> ## Properties

> - AllowLinksHandling - If to handle links in the tooltip When set to true the mouse pointer will change to hand when hovering over a tooltip and if clicked the LinkClicked event will be raised although the tooltip will be closed.(default: false).
> - BaseStylesheet - Set base stylesheet to be used by html rendered in the tooltip.
> - MaximumSize - Gets or sets the max size of the tooltip.

> ## Events

> - LinkClicked - Raised when the user clicks on a link in the html, Allows canceling the execution of the link.
> - RenderError - Raised when an error occured during html rendering.
> - StylesheetLoad - Raised when aa stylesheet is about to be loaded by file path or URI by link element. This event allows to provide the stylesheet manually or provide new source (file or uri) to load from.
> - ImageLoad - Raised when an image is about to be loaded by file path or URI. This event allows to provide the image manually, if not handled the image will be loaded from file or download from URI.

> # Remarks

> ### Changing tooltip style

> You can change the style used for the tooltip by setting BaseStylesheet property with stylesheet data containing htmltooltip class.

> ### LinkClicked event

> Raised when the user clicks on a link in the html.
> Allows canceling the execution of the link.

> ### StylesheetLoad event

> Raised when aa stylesheet is about to be loaded by file path or URI by link element.
> This event allows to provide the stylesheet manually or provide new source (file or uri) to load from.
> If no alternative data is provided the original source will be used.

> ### ImageLoad event

> Raised when an image is about to be loaded by file path or URI.
> This event allows to provide the image manually, if not handled the image will be loaded from file or download from URI.

> ### RenderError event

> Raised when an error occured during html rendering.