CssLineBox 类 |
命名空间: DSkin.Html.Core.Dom
public sealed class CssLineBox
CssLineBox 类型公开以下成员。
名称 | 说明 | |
---|---|---|
![]() | CssLineBox |
Creates a new LineBox
|
名称 | 说明 | |
---|---|---|
![]() | LineBottom |
Get the bottom of this box line (the max bottom of all the words)
|
![]() | LineHeight |
Get the height of this box line (the max height of all the words)
|
![]() | OwnerBox |
Gets the owner box
|
![]() | Rectangles |
Gets a List of rectangles that are to be painted on this linebox
|
![]() | RelatedBoxes |
Gets a list of boxes related with the linebox.
To know the words of the box inside this linebox, use the WordsOf(CssBox) method.
|
![]() | Words |
Gets the words inside the linebox
|
名称 | 说明 | |
---|---|---|
![]() | IsLastSelectedWord |
Check if the given word is the last selected word in the line. It can either be the last word in the line or the next word has no selection. |
![]() | ToString |
Returns the words of the linebox
(重写 ObjectToString.) |
名称 | 说明 | |
---|---|---|
![]() | 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 定义。) |