Property | Type | Description | |
---|---|---|---|
CreateKeyEevent | YamuiFramework.HtmlRenderer.Core.Adapters.Entities.RKeyEvent | ||
CreateMouseEvent | RMouseEvent |
Method | Description | |
---|---|---|
Dispose ( ) : void | ||
GetAttributeAt ( Point location, string attribute ) : string |
Get attribute value of element at the given x,y location by given key.
|
|
GetElementRectangle ( string elementId ) : RectangleF? |
Get the rectangle of html element as calculated by html layout.
|
|
GetHtml ( HtmlGenerationStyle styleGen = HtmlGenerationStyle.Inline ) : string |
Get html from the current DOM tree with style if requested.
|
|
GetLinkAt ( Point location ) : string |
Get css link href at the given x,y location.
|
|
GetLinks ( ) : List |
Get all the links in the HTML with the element rectangle and href data.
|
|
HandleKeyDown ( |
Handle key down event for selection and copy.
|
|
HandleMouseDoubleClick ( |
Handle mouse double click to select word under the mouse.
|
|
HandleMouseDown ( |
Handle mouse down to handle selection.
|
|
HandleMouseLeave ( |
Handle mouse leave to handle hover cursor.
|
|
HandleMouseMove ( |
Handle mouse move to handle hover cursor and text selection.
|
|
HandleMouseUp ( |
Handle mouse up to handle selection and link click.
|
|
HtmlContainer ( ) : System |
Init.
|
|
PerformLayout ( |
Measures the bounds of box and children, recursively.
|
|
PerformPaint ( |
Render the html using the given device.
|
|
SetHtml ( string htmlSource, YamuiFramework.HtmlRenderer.Core.Core.CssData baseCssData = null ) : void |
Init with optional document and stylesheet.
|
Method | Description | |
---|---|---|
CreateKeyEevent ( |
Create HtmlRenderer key event from win forms key event.
|
|
CreateMouseEvent ( MouseEventArgs e ) : RMouseEvent |
Create HtmlRenderer mouse event from win forms mouse event.
|
public GetAttributeAt ( Point location, string attribute ) : string | ||
location | Point | the location to find the attribute at |
attribute | string | the attribute key to get value by |
return | string |
public GetElementRectangle ( string elementId ) : RectangleF? | ||
elementId | string | the id of the element to get its rectangle |
return | RectangleF? |
public GetHtml ( HtmlGenerationStyle styleGen = HtmlGenerationStyle.Inline ) : string | ||
styleGen | HtmlGenerationStyle | Optional: controls the way styles are generated when html is generated (default: |
return | string |
public GetLinkAt ( Point location ) : string | ||
location | Point | the location to find the link at |
return | string |
public HandleKeyDown ( |
||
parent | the control hosting the html to invalidate | |
e | the pressed key | |
return | void |
public HandleMouseDoubleClick ( |
||
parent | the control hosting the html to set cursor and invalidate | |
e | MouseEventArgs | mouse event args |
return | void |
public HandleMouseDown ( |
||
parent | the control hosting the html to invalidate | |
e | MouseEventArgs | the mouse event args |
return | void |
public HandleMouseLeave ( |
||
parent | the control hosting the html to set cursor and invalidate | |
return | void |
public HandleMouseMove ( |
||
parent | the control hosting the html to set cursor and invalidate | |
e | MouseEventArgs | the mouse event args |
return | void |
public HandleMouseUp ( |
||
parent | the control hosting the html to invalidate | |
e | MouseEventArgs | the mouse event args |
return | void |
public PerformLayout ( |
||
g | Device context to draw | |
return | void |
public PerformPaint ( |
||
g | the device to use to render | |
return | void |
public SetHtml ( string htmlSource, YamuiFramework.HtmlRenderer.Core.Core.CssData baseCssData = null ) : void | ||
htmlSource | string | the html to init with, init empty if not given |
baseCssData | YamuiFramework.HtmlRenderer.Core.Core.CssData | optional: the stylesheet to init with, init default if not given |
return | void |