C# 클래스 YamuiFramework.HtmlRenderer.WinForms.HtmlToolTip

Provides HTML rendering on the tooltips.
상속: System.Windows.Forms.ToolTip
파일 보기 프로젝트 열기: jcaillon/3P

보호된 프로퍼티들

프로퍼티 타입 설명
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