C# Класс YamuiFramework.HtmlRenderer.WinForms.HtmlToolTip

Provides HTML rendering on the tooltips.
Наследование: System.Windows.Forms.ToolTip
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
BaseCssData YamuiFramework.HtmlRenderer.Core.Core.CssData
BaseRawCssData string
HtmlContainer HtmlContainer
_textRenderingHint TextRenderingHint

Private Properties

Свойство Тип Описание
OnImageLoad void
OnLinkClicked void
OnLinkHandlingTimerTick void
OnRenderError void
OnStylesheetLoad void
OnToolTipDisposed void
OnToolTipDraw void
OnToolTipPopup void

Открытые методы

Метод Описание
HtmlToolTip ( ) : System

Init.

Защищенные методы

Метод Описание
AdjustTooltipPosition ( Control associatedControl, Size size ) : void

Adjust the location of the tooltip window to the location of the mouse and handle if the tooltip window will try to appear outside the boundaries of the control.

OnImageLoad ( YamuiFramework.HtmlRenderer.Core.Core.Entities.HtmlImageLoadEventArgs e ) : void

Propagate the image load event from root container.

OnLinkClicked ( YamuiFramework.HtmlRenderer.Core.Core.Entities.HtmlLinkClickedEventArgs e ) : void

Propagate the LinkClicked event from root container.

OnLinkHandlingTimerTick ( EventArgs e ) : void

Raised on link handling timer tick, used for: 1. Know when the tooltip is hidden by checking the visibility of the tooltip window. 2. Call HandleMouseMove so the mouse cursor will react if over a link element. 3. Call HandleMouseDown and HandleMouseUp to simulate click on a link if one was clicked.

OnRenderError ( YamuiFramework.HtmlRenderer.Core.Core.Entities.HtmlRenderErrorEventArgs e ) : void

Propagate the Render Error event from root container.

OnStylesheetLoad ( YamuiFramework.HtmlRenderer.Core.Core.Entities.HtmlStylesheetLoadEventArgs e ) : void

Propagate the stylesheet load event from root container.

OnToolTipDisposed ( EventArgs e ) : void

Unsubscribe from events and dispose of HtmlContainer.

OnToolTipDraw ( DrawToolTipEventArgs e ) : void

Draw the html using the tooltip graphics.

OnToolTipPopup ( System.Windows.Forms.PopupEventArgs e ) : void

On tooltip appear set the html by the associated control, layout and set the tooltip size by the html size.

Приватные методы

Метод Описание
OnImageLoad ( object sender, YamuiFramework.HtmlRenderer.Core.Core.Entities.HtmlImageLoadEventArgs e ) : void
OnLinkClicked ( object sender, YamuiFramework.HtmlRenderer.Core.Core.Entities.HtmlLinkClickedEventArgs e ) : void
OnLinkHandlingTimerTick ( object sender, EventArgs e ) : void
OnRenderError ( object sender, YamuiFramework.HtmlRenderer.Core.Core.Entities.HtmlRenderErrorEventArgs e ) : void
OnStylesheetLoad ( object sender, YamuiFramework.HtmlRenderer.Core.Core.Entities.HtmlStylesheetLoadEventArgs e ) : void
OnToolTipDisposed ( object sender, EventArgs e ) : void
OnToolTipDraw ( object sender, DrawToolTipEventArgs e ) : void
OnToolTipPopup ( object sender, System.Windows.Forms.PopupEventArgs e ) : void

Описание методов

AdjustTooltipPosition() защищенный Метод

Adjust the location of the tooltip window to the location of the mouse and handle if the tooltip window will try to appear outside the boundaries of the control.
protected AdjustTooltipPosition ( Control associatedControl, Size size ) : void
associatedControl System.Windows.Forms.Control the control the tooltip is appearing on
size System.Drawing.Size the size of the tooltip window
Результат void

HtmlToolTip() публичный Метод

Init.
public HtmlToolTip ( ) : System
Результат System

OnImageLoad() защищенный Метод

Propagate the image load event from root container.
protected OnImageLoad ( YamuiFramework.HtmlRenderer.Core.Core.Entities.HtmlImageLoadEventArgs e ) : void
e YamuiFramework.HtmlRenderer.Core.Core.Entities.HtmlImageLoadEventArgs
Результат void

OnLinkClicked() защищенный Метод

Propagate the LinkClicked event from root container.
protected OnLinkClicked ( YamuiFramework.HtmlRenderer.Core.Core.Entities.HtmlLinkClickedEventArgs e ) : void
e YamuiFramework.HtmlRenderer.Core.Core.Entities.HtmlLinkClickedEventArgs
Результат void

OnLinkHandlingTimerTick() защищенный Метод

Raised on link handling timer tick, used for: 1. Know when the tooltip is hidden by checking the visibility of the tooltip window. 2. Call HandleMouseMove so the mouse cursor will react if over a link element. 3. Call HandleMouseDown and HandleMouseUp to simulate click on a link if one was clicked.
protected OnLinkHandlingTimerTick ( EventArgs e ) : void
e System.EventArgs
Результат void

OnRenderError() защищенный Метод

Propagate the Render Error event from root container.
protected OnRenderError ( YamuiFramework.HtmlRenderer.Core.Core.Entities.HtmlRenderErrorEventArgs e ) : void
e YamuiFramework.HtmlRenderer.Core.Core.Entities.HtmlRenderErrorEventArgs
Результат void

OnStylesheetLoad() защищенный Метод

Propagate the stylesheet load event from root container.
protected OnStylesheetLoad ( YamuiFramework.HtmlRenderer.Core.Core.Entities.HtmlStylesheetLoadEventArgs e ) : void
e YamuiFramework.HtmlRenderer.Core.Core.Entities.HtmlStylesheetLoadEventArgs
Результат void

OnToolTipDisposed() защищенный Метод

Unsubscribe from events and dispose of HtmlContainer.
protected OnToolTipDisposed ( EventArgs e ) : void
e System.EventArgs
Результат void

OnToolTipDraw() защищенный Метод

Draw the html using the tooltip graphics.
protected OnToolTipDraw ( DrawToolTipEventArgs e ) : void
e System.Windows.Forms.DrawToolTipEventArgs
Результат void

OnToolTipPopup() защищенный Метод

On tooltip appear set the html by the associated control, layout and set the tooltip size by the html size.
protected OnToolTipPopup ( System.Windows.Forms.PopupEventArgs e ) : void
e System.Windows.Forms.PopupEventArgs
Результат void

Описание свойств

BaseCssData защищенное свойство

the base stylesheet data used in the panel
protected CssData,YamuiFramework.HtmlRenderer.Core.Core BaseCssData
Результат YamuiFramework.HtmlRenderer.Core.Core.CssData

BaseRawCssData защищенное свойство

the raw base stylesheet data used in the control
protected string BaseRawCssData
Результат string

HtmlContainer защищенное свойство

the container to render and handle the html shown in the tooltip
protected HtmlContainer,YamuiFramework.HtmlRenderer.WinForms HtmlContainer
Результат HtmlContainer

_textRenderingHint защищенное свойство

The text rendering hint to be used for text rendering.
protected TextRenderingHint _textRenderingHint
Результат TextRenderingHint