DuiHtmlLabel 类 |
命名空间: DSkin.DirectUI
public class DuiHtmlLabel : DuiBaseControl
DuiHtmlLabel 类型公开以下成员。
名称 | 说明 | |
---|---|---|
![]() | DuiHtmlLabel |
支持HTML渲染呈现
|
名称 | 说明 | |
---|---|---|
![]() | BeginInvoke |
在主线程上异步调用方法
(继承自 DuiBaseControl。) |
![]() | BringToFront |
将控件带到 Z 顺序的前面
(继承自 DuiBaseControl。) |
![]() | ClearSelection |
Clear the current selection.
|
![]() | CopySelectedHtml |
复制被选中的HTML内容
|
![]() | Dispose | (继承自 Component。) |
![]() | Dispose(Boolean) |
Release the html container resources.
(重写 DuiBaseControlDispose(Boolean).) |
![]() | DisposeCanvas |
释放画布
(继承自 DuiBaseControl。) |
![]() | DrawBorders |
绘制边框
(继承自 DuiBaseControl。) |
![]() | Finalize | (继承自 Component。) |
![]() | Focus |
为控件设置输入焦点
(继承自 DuiBaseControl。) |
![]() | 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 inline style.
|
![]() | GetService | (继承自 Component。) |
![]() | HitTest |
点击测试
(继承自 DuiBaseControl。) |
![]() | Invalidate |
使整个控件区域无效,导致重绘
(继承自 DuiBaseControl。) |
![]() | Invalidate(Rectangle) |
使指定区域无效,导致重绘该区域
(继承自 DuiBaseControl。) |
![]() | Invoke |
在主线程上调用方法
(继承自 DuiBaseControl。) |
![]() | ManagedTask |
托管任务,用于处理可能会需要多次处理,但是只要最后一次处理的任务,比如布局,重绘。相同任务在很短时间内被托管多次,只会调用一次。该方法依赖重绘消息或者异步消息
(继承自 DuiBaseControl。) |
![]() | OnAcceptTask |
接收到任务的时候
(继承自 DuiBaseControl。) |
![]() | OnAnchorChanged |
触发AnchorChanged事件
(继承自 DuiBaseControl。) |
![]() | OnAutoSizeChanged |
触发AutoSizeChanged事件
(继承自 DuiBaseControl。) |
![]() | OnBackgroundImageChanged | (继承自 DuiBaseControl。) |
![]() | OnDockChanged |
触发Dock改变事件
(继承自 DuiBaseControl。) |
![]() | OnEnabledChanged |
触发OnEnabledChanged事件
(继承自 DuiBaseControl。) |
![]() | OnFocusedChanged |
触发OnFocusedChanged事件
(继承自 DuiBaseControl。) |
![]() | OnFontChanged |
触发字体改变事件
(继承自 DuiBaseControl。) |
![]() | OnForeColorChanged |
触发ForeColorChanged事件
(继承自 DuiBaseControl。) |
![]() | OnImageLoad |
Propagate the image load event from root container.
|
![]() | OnInvalidated |
触发Invalidated事件
(继承自 DuiBaseControl。) |
![]() | OnIsSelectedChanged | (继承自 DuiBaseControl。) |
![]() | OnKeyDown |
触发KeyDown事件
(继承自 DuiBaseControl。) |
![]() | OnKeyPress |
触发KeyPress事件
(继承自 DuiBaseControl。) |
![]() | OnKeyUp |
触发KeyUp事件
(继承自 DuiBaseControl。) |
![]() | OnLayout |
Perform the layout of the html in the control.
(重写 DuiBaseControlOnLayout(EventArgs).) |
![]() | OnLinkClicked |
Propagate the LinkClicked event from root container.
|
![]() | OnLoad | (继承自 DuiBaseControl。) |
![]() | OnLoadComplete |
Propagate the LoadComplete event from root container.
|
![]() | OnMarginChanged | (继承自 DuiBaseControl。) |
![]() | OnMouseClick |
触发MouseClick事件
(继承自 DuiBaseControl。) |
![]() | OnMouseDoubleClick |
Handle mouse double click to select word under the mouse.
(重写 DuiBaseControlOnMouseDoubleClick(DuiMouseEventArgs).) |
![]() | OnMouseDown |
Handle mouse down to handle selection.
(重写 DuiBaseControlOnMouseDown(DuiMouseEventArgs).) |
![]() | OnMouseEnter | (重写 DuiBaseControlOnMouseEnter(MouseEventArgs).) |
![]() | OnMouseLeave |
Handle mouse leave to handle cursor change.
(重写 DuiBaseControlOnMouseLeave(EventArgs).) |
![]() | OnMouseMove |
Handle mouse move to handle hover cursor and text selection.
(重写 DuiBaseControlOnMouseMove(DuiMouseEventArgs).) |
![]() | OnMouseUp |
Handle mouse up to handle selection and link click.
(重写 DuiBaseControlOnMouseUp(DuiMouseEventArgs).) |
![]() | OnMouseWheel | (重写 DuiBaseControlOnMouseWheel(MouseEventArgs).) |
![]() | OnMove |
触发Move事件
(继承自 DuiBaseControl。) |
![]() | OnPaint |
触发Paint事件
(继承自 DuiBaseControl。) |
![]() | OnPaintBackground |
触发PaintBackground事件
(继承自 DuiBaseControl。) |
![]() | OnParentChanged | (继承自 DuiBaseControl。) |
![]() | OnPrePaint | (重写 DuiBaseControlOnPrePaint(PaintEventArgs).) |
![]() | OnPreviewKeyDown | (重写 DuiBaseControlOnPreviewKeyDown(PreviewKeyDownEventArgs).) |
![]() | OnPropertyChanged | (继承自 DuiBaseControl。) |
![]() | OnRefresh |
Handle html renderer invalidate and re-layout as requested.
|
![]() | OnRenderError |
Propagate the Render Error event from root container.
|
![]() | OnSizeChanged |
触发SizeChanged事件
(继承自 DuiBaseControl。) |
![]() | OnStartPaint | (继承自 DuiBaseControl。) |
![]() | OnStylesheetLoad |
Propagate the stylesheet load event from root container.
|
![]() | OnTextChanged | (继承自 DuiBaseControl。) |
![]() | OnVisibleChanged |
触发VisibleChanged事件
(继承自 DuiBaseControl。) |
![]() | PaintControl |
绘制控件
(继承自 DuiBaseControl。) |
![]() | PerformLayout |
布局子控件
(继承自 DuiBaseControl。) |
![]() | ResetMouseStatus |
重置鼠标状态,isMouseDown,isMouseEnter,isMouseEnterChildControl设置为false
(继承自 DuiBaseControl。) |
![]() | ResumeLayout |
恢复布局
(继承自 DuiBaseControl。) |
![]() | SelectAll |
全选
|
![]() | SendTask |
发送任务,父级容器可以接收到任务请求来执行需要的任务
(继承自 DuiBaseControl。) |
![]() | SendToBack |
将控件发送到 Z 顺序的后面
(继承自 DuiBaseControl。) |
![]() | SuspendLayout |
挂起布局
(继承自 DuiBaseControl。) |
![]() | ToString | (继承自 DuiBaseControl。) |
![]() | TriggerLoad |
触发Load事件
(继承自 DuiBaseControl。) |
名称 | 说明 | |
---|---|---|
![]() | _autoSizeHight |
is to handle auto size of the control height only
|
![]() | _baseCssData |
the base stylesheet data used in the panel
|
![]() | _baseRawCssData |
the raw base stylesheet data used in the control
|
![]() | _text |
the current html text set in the control
|
![]() | textRenderMode |
The text rendering hint to be used for text rendering.
|
名称 | 说明 | |
---|---|---|
![]() | FormatDateTime |
将数据以时间格式并对其格式化
(由 ObjectExtenstions 定义。) |
![]() | FormatNumber |
将数据以数值方式对数据格式化
(由 ObjectExtenstions 定义。) |
![]() | FormatString |
将数据以字符串格式对数据格式化
(由 ObjectExtenstions 定义。) |
![]() | QueryT |
查询内部控件
(由 DuiControlExtensions 定义。) |
![]() | 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 定义。) |