点击或拖拽改变大小

DuiHtmlLabel 方法

DuiHtmlLabel 类型公开以下成员。

方法
  名称说明
公共方法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。)
Top
扩展方法
  名称说明
公共扩展器方法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 定义。)
Top
参见