HtmlContainerInt 方法 |
HtmlContainerInt 类型公开以下成员。
名称 | 说明 | |
---|---|---|
![]() | Clear |
Clear the content of the HTML container releasing any resources used to render previously existing content.
|
![]() | ClearSelection |
Clear the current selection.
|
![]() | Dispose |
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
|
![]() | GetAttributeAt |
Get attribute value of element at the given x,y location by given key. If more than one element exist with the attribute at the location the inner most is returned. |
![]() | GetElementRectangle |
Get the rectangle of html element as calculated by html layout. Element if found by id (id attribute on the html element). Note: to get the screen rectangle you need to adjust by the hosting control. |
![]() | GetHtml |
Get html from the current DOM tree with style if requested.
|
![]() | GetLinkAt |
Get css link href at the given x,y location.
|
![]() | GetLinks |
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.
|
![]() | HandleMouseEnter | |
![]() | 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.
|
![]() | PerformLayout |
Measures the bounds of box and children, recursively.
|
![]() | PerformPaint |
Render the html using the given device.
|
![]() | RequestRefresh |
Request invalidation and re-layout of the control hosting the renderer.
|
![]() | SetHtml |
Init with optional document and stylesheet.
|
名称 | 说明 | |
---|---|---|
![]() | FormatDateTime |
将数据以时间格式并对其格式化
(由 ObjectExtenstions 定义。) |
![]() | FormatNumber |
将数据以数值方式对数据格式化
(由 ObjectExtenstions 定义。) |
![]() | FormatString |
将数据以字符串格式对数据格式化
(由 ObjectExtenstions 定义。) |
![]() | Sleep |
异步延迟执行代码,只能在主线程中调用
(由 DuiControlExtensions 定义。) |
![]() | ToBool |
将数据转换成Bool,如果转换失败返回False
(由 ObjectExtenstions 定义。) |
![]() | ToDateTime |
将数据转换成DateTime,如果转换失败返回空的时间
(由 ObjectExtenstions 定义。) |
![]() | ToDouble |
将数据转换成Double,如果转换失败返回0
(由 ObjectExtenstions 定义。) |
![]() | ToEnumT |
将数据转换成枚举,如果转换失败则返回默认值
(由 ObjectExtenstions 定义。) |
![]() | ToFloat |
将数据转换成Float,如果转换失败返回0
(由 ObjectExtenstions 定义。) |
![]() | ToInt | 已重载。
将数据转换成int,如果转换失败返回0
(由 ObjectExtenstions 定义。) |
![]() | ToInt(Int32) | 已重载。
数据转换成int,如果转换失败,返回errorResult
(由 ObjectExtenstions 定义。) |
![]() | ToJson |
将对象序列化成Json字符串
(由 JsonHelper 定义。) |
![]() | ToLong |
将数据转换成Long,如果转换失败返回0
(由 ObjectExtenstions 定义。) |