CssRect 类 |
命名空间: DSkin.Html.Core.Dom
public abstract class CssRect
CssRect 类型公开以下成员。
名称 | 说明 | |
---|---|---|
![]() | ActualWordSpacing |
Gets the actual width of whitespace between words.
|
![]() | Bottom |
Gets or sets the bottom of the rectangle. When setting, it only affects the Height of the rectangle.
|
![]() | FullWidth |
Get the full width of the word including the spacing.
|
![]() | HasSpaceAfter |
was there a whitespace after the word chars (before trim)
|
![]() | HasSpaceBefore |
was there a whitespace before the word chars (before trim)
|
![]() | Height |
Height of the rectangle
|
![]() | Image |
Gets the image this words represents (if one exists)
|
![]() | IsImage |
Gets if the word represents an image.
|
![]() | IsLineBreak |
Gets if the word is composed by only a line break
|
![]() | IsSpaces |
Gets a bool indicating if this word is composed only by spaces.
Spaces include tabs and line breaks
获取一个布尔值,该值指示是否这个词仅由空格组成。空间包括制表符和换行符
|
![]() | Left |
Left of the rectangle
|
![]() | OwnerBox |
Gets the Box where this word belongs.
|
![]() | Rectangle |
Gets or sets the bounds of the rectangle
|
![]() | Right |
Gets or sets the right of the rectangle. When setting, it only affects the Width of the rectangle.
|
![]() | Selected |
is the word is currently selected
|
![]() | SelectedEndIndexOffset |
the selection end index if the word is partially selected (-1 if not selected or fully selected)
|
![]() | SelectedEndOffset |
the selection end offset if the word is partially selected (-1 if not selected or fully selected)
|
![]() | SelectedStartIndex |
the selection start index if the word is partially selected (-1 if not selected or fully selected)
|
![]() | SelectedStartOffset |
the selection start offset if the word is partially selected (-1 if not selected or fully selected)
|
![]() | Selection |
If the word is selected this points to the selection handler for more data
|
![]() | Text |
Gets the text of the word
|
![]() | Top |
Top of the rectangle
|
![]() | Width |
Width of the rectangle
|
名称 | 说明 | |
---|---|---|
![]() | ToString |
Represents this word for debugging purposes
(重写 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 定义。) |