Property | Type | Description | |
---|---|---|---|
BuildCssBoxTree | void | ||
CreateMouseEventArg | LayoutFarm.UI.UIMouseEventArgs | ||
GetDC | IntPtr | ||
GetSharedPainter | PaintVisitor | ||
GetUIMouseButton | LayoutFarm.UI.UIMouseButtons | ||
OnRefresh | void | ||
OnScrollChange | void | ||
PaintMe | void | ||
PaintMe | void | ||
PerformHtmlLayout | void | ||
ReleaseDC | IntPtr | ||
ReleaseSharedPainter | void | ||
SetHtml | void | ||
UpdateScroll | void | ||
myHtmlContainer_NeedUpdateDom | void |
Method | Description | |
---|---|---|
ForceRefreshHtmlDomChange ( LayoutFarm doc ) : void | ||
GetHtml ( ) : string |
Get html from the current DOM tree with inline style.
|
|
GetHtmlContainer ( ) : HtmlContainer | ||
HtmlPanel ( PixelFarm p, int w, int h ) : System |
Creates a new HtmlPanel and sets a basic css for it's styling.
|
|
LoadHtmlDom ( LayoutFarm doc, string defaultCss ) : void | ||
SetHtmlHost ( HtmlHost htmlhost ) : void |
Method | Description | |
---|---|---|
Dispose ( bool disposing ) : void |
Release the html container resources.
|
|
IsInputKey ( Keys keyData ) : bool |
Used to add arrow keys to the handled keys in OnKeyDown.
|
|
OnClick ( EventArgs e ) : void |
Set focus on the control for keyboard scrrollbars handling.
|
|
OnKeyDown ( KeyEventArgs e ) : void |
Handle key down event for selection, copy and scrollbars handling.
|
|
OnLayout ( LayoutEventArgs levent ) : void |
Perform the layout of the html in the control.
|
|
OnMouseDown ( MouseEventArgs e ) : void |
Handle mouse down to handle selection.
|
|
OnMouseLeave ( EventArgs e ) : void |
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.
|
Method | Description | |
---|---|---|
BuildCssBoxTree ( |
||
CreateMouseEventArg ( MouseEventArgs e ) : LayoutFarm.UI.UIMouseEventArgs | ||
GetDC ( IntPtr hWnd ) : IntPtr | ||
GetSharedPainter ( LayoutFarm htmlCont, PixelFarm canvas ) : PaintVisitor | ||
GetUIMouseButton ( MouseButtons mouseButton ) : LayoutFarm.UI.UIMouseButtons | ||
OnRefresh ( object sender, EventArgs e ) : void |
Handle html renderer invalidate and re-layout as requested.
|
|
OnScrollChange ( object sender, HtmlScrollEventArgs e ) : void |
On html renderer scroll request adjust the scrolling of the panel to the requested location.
|
|
PaintMe ( ) : void | ||
PaintMe ( PaintEventArgs e ) : void | ||
PerformHtmlLayout ( ) : void |
Perform html container layout by the current panel client size.
|
|
ReleaseDC ( IntPtr hWnd, IntPtr hdc ) : IntPtr | ||
ReleaseSharedPainter ( PaintVisitor p ) : void | ||
SetHtml ( LayoutFarm htmlContainer, string html, CssActiveSheet cssData ) : void | ||
UpdateScroll ( Point location ) : void |
Adjust the scrolling of the panel to the requested location.
|
|
myHtmlContainer_NeedUpdateDom ( object sender, EventArgs e ) : void |
public ForceRefreshHtmlDomChange ( LayoutFarm doc ) : void | ||
doc | LayoutFarm | |
return | void |
public HtmlPanel ( PixelFarm p, int w, int h ) : System | ||
p | PixelFarm | |
w | int | |
h | int | |
return | System |
public LoadHtmlDom ( LayoutFarm doc, string defaultCss ) : void | ||
doc | LayoutFarm | |
defaultCss | string | |
return | void |
protected OnKeyDown ( KeyEventArgs e ) : void | ||
e | KeyEventArgs | |
return | void |
protected OnLayout ( LayoutEventArgs levent ) : void | ||
levent | LayoutEventArgs | |
return | void |
protected OnMouseDown ( MouseEventArgs e ) : void | ||
e | MouseEventArgs | |
return | void |
protected OnMouseLeave ( EventArgs e ) : void | ||
e | EventArgs | |
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 |
public SetHtmlHost ( HtmlHost htmlhost ) : void | ||
htmlhost | HtmlHost | |
return | void |