Property | Type | Description | |
---|---|---|---|
_autoSizeHight | bool | ||
_baseCssData | YamuiFramework.HtmlRenderer.Core.Core.CssData | ||
_baseRawCssData | string | ||
_borderStyle | BorderStyle | ||
_htmlContainer | |||
_text | string | ||
_textRenderingHint | TextRenderingHint | ||
_useSystemCursors | bool |
Property | Type | Description | |
---|---|---|---|
OnImageLoad | void | ||
OnLinkClicked | void | ||
OnRefresh | void | ||
OnRenderError | void | ||
OnStylesheetLoad | void | ||
WndProc | void | ||
YamuiThemeManagerOnOnCssChanged | void |
Method | Description | |
---|---|---|
GetElementRectangle ( string elementId ) : RectangleF? |
Get the rectangle of html element as calculated by html layout.
|
|
GetHtml ( ) : string |
Get html from the current DOM tree with inline style.
|
|
HtmlLabel ( ) : System |
Creates a new HTML Label
|
|
SetNeededSize ( string content, int minWidth, int maxWidth, bool dontSquareIt = false ) : void |
adapts width to content (the label needs to be in AutoSizeHeight only)
|
Method | Description | |
---|---|---|
Dispose ( bool disposing ) : void |
Release the html container resources.
|
|
OnBorderStyleChanged ( |
Raises the BorderStyleChanged event.
|
|
OnImageLoad ( YamuiFramework.HtmlRenderer.Core.Core.Entities.HtmlImageLoadEventArgs e ) : void |
Propagate the image load event from root container.
|
|
OnLayout ( System.Windows.Forms.LayoutEventArgs levent ) : void |
Perform the layout of the html in the control.
|
|
OnLinkClicked ( YamuiFramework.HtmlRenderer.Core.Core.Entities.HtmlLinkClickedEventArgs e ) : void |
Propagate the LinkClicked event from root container.
|
|
OnMouseDoubleClick ( MouseEventArgs e ) : void |
Handle mouse double click to select word under the mouse.
|
|
OnMouseDown ( MouseEventArgs e ) : void |
Handle mouse down to handle selection.
|
|
OnMouseLeave ( |
Handle mouse leave to handle cursor change.
|
|
OnMouseMove ( MouseEventArgs e ) : void |
Handle mouse move to handle hover cursor and text selection.
|
|
OnMouseUp ( MouseEventArgs e ) : void |
Handle mouse up to handle selection and link click.
|
|
OnPaint ( PaintEventArgs e ) : void |
Perform paint of the html in the control.
|
|
OnRefresh ( HtmlRefreshEventArgs e ) : void |
Handle html renderer invalidate and re-layout as requested.
|
|
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.
|
Method | Description | |
---|---|---|
OnImageLoad ( object sender, YamuiFramework.HtmlRenderer.Core.Core.Entities.HtmlImageLoadEventArgs e ) : void | ||
OnLinkClicked ( object sender, YamuiFramework.HtmlRenderer.Core.Core.Entities.HtmlLinkClickedEventArgs e ) : void | ||
OnRefresh ( object sender, HtmlRefreshEventArgs e ) : void | ||
OnRenderError ( object sender, YamuiFramework.HtmlRenderer.Core.Core.Entities.HtmlRenderErrorEventArgs e ) : void | ||
OnStylesheetLoad ( object sender, YamuiFramework.HtmlRenderer.Core.Core.Entities.HtmlStylesheetLoadEventArgs e ) : void | ||
WndProc ( |
||
YamuiThemeManagerOnOnCssChanged ( ) : void |
public GetElementRectangle ( string elementId ) : RectangleF? | ||
elementId | string | the id of the element to get its rectangle |
return | RectangleF? |
protected OnBorderStyleChanged ( |
||
e | ||
return | void |
protected OnImageLoad ( YamuiFramework.HtmlRenderer.Core.Core.Entities.HtmlImageLoadEventArgs e ) : void | ||
e | YamuiFramework.HtmlRenderer.Core.Core.Entities.HtmlImageLoadEventArgs | |
return | void |
protected OnLayout ( System.Windows.Forms.LayoutEventArgs levent ) : void | ||
levent | System.Windows.Forms.LayoutEventArgs | |
return | void |
protected OnLinkClicked ( YamuiFramework.HtmlRenderer.Core.Core.Entities.HtmlLinkClickedEventArgs e ) : void | ||
e | YamuiFramework.HtmlRenderer.Core.Core.Entities.HtmlLinkClickedEventArgs | |
return | void |
protected OnMouseDoubleClick ( MouseEventArgs e ) : void | ||
e | MouseEventArgs | |
return | void |
protected OnMouseDown ( MouseEventArgs e ) : void | ||
e | MouseEventArgs | |
return | void |
protected OnMouseLeave ( |
||
e | ||
return | void |
protected OnMouseMove ( MouseEventArgs e ) : void | ||
e | MouseEventArgs | |
return | void |
protected OnMouseUp ( MouseEventArgs e ) : void | ||
e | MouseEventArgs | |
return | void |
protected OnPaint ( PaintEventArgs e ) : void | ||
e | PaintEventArgs | |
return | void |
protected OnRefresh ( HtmlRefreshEventArgs e ) : void | ||
e | HtmlRefreshEventArgs | |
return | void |
protected OnRenderError ( YamuiFramework.HtmlRenderer.Core.Core.Entities.HtmlRenderErrorEventArgs e ) : void | ||
e | YamuiFramework.HtmlRenderer.Core.Core.Entities.HtmlRenderErrorEventArgs | |
return | void |
protected OnStylesheetLoad ( YamuiFramework.HtmlRenderer.Core.Core.Entities.HtmlStylesheetLoadEventArgs e ) : void | ||
e | YamuiFramework.HtmlRenderer.Core.Core.Entities.HtmlStylesheetLoadEventArgs | |
return | void |
public SetNeededSize ( string content, int minWidth, int maxWidth, bool dontSquareIt = false ) : void | ||
content | string | |
minWidth | int | |
maxWidth | int | |
dontSquareIt | bool | |
return | void |
protected CssData,YamuiFramework.HtmlRenderer.Core.Core _baseCssData | ||
return | YamuiFramework.HtmlRenderer.Core.Core.CssData |
protected HtmlContainer,YamuiFramework.HtmlRenderer.WinForms _htmlContainer | ||
return |
protected TextRenderingHint _textRenderingHint | ||
return | TextRenderingHint |