TextLine 类 |
命名空间: DSkin.DirectUI
public class TextLine : Collection<ILayoutElement>
TextLine 类型公开以下成员。
名称 | 说明 | |
---|---|---|
Count | (继承自 CollectionT。) | |
Height |
行高
| |
InnerList |
内部列表
(继承自 CollectionT。) | |
Item | (继承自 CollectionT。) | |
Tag | (继承自 CollectionT。) |
名称 | 说明 | |
---|---|---|
Add | (继承自 CollectionT。) | |
AddRange | (继承自 CollectionT。) | |
Clear | (继承自 CollectionT。) | |
Contains | (继承自 CollectionT。) | |
CopyTo | (继承自 CollectionT。) | |
Exists |
确定 集合 是否包含与指定谓词所定义的条件相匹配的元素
(继承自 CollectionT。) | |
Find |
搜索与指定谓词所定义的条件相匹配的元素,并返回整个集合中的第一个匹配元素
(继承自 CollectionT。) | |
FindAll |
检索与指定谓词定义的条件匹配的所有元素
(继承自 CollectionT。) | |
FindIndex |
搜索与指定谓词所定义的条件相匹配的元素,并返回整个集合 中第一个匹配元素的从零开始的索引。
(继承自 CollectionT。) | |
FindLast |
搜索与指定谓词所定义的条件相匹配的元素,并返回整个 集合 中的最后一个匹配元素。
(继承自 CollectionT。) | |
FindLastIndex |
搜索与指定谓词所定义的条件相匹配的元素,并返回整个 集合 中最后一个匹配元素的从零开始的索引。
(继承自 CollectionT。) | |
GetEnumerator | (继承自 CollectionT。) | |
IndexOf | (继承自 CollectionT。) | |
Insert | (继承自 CollectionT。) | |
OnItemAdded | (继承自 CollectionT。) | |
OnItemRemoved | (继承自 CollectionT。) | |
Remove | (继承自 CollectionT。) | |
RemoveAt | (继承自 CollectionT。) | |
RemoveRange | (继承自 CollectionT。) | |
Sort(ComparerT) |
使用指定的比较器对所有元素进行排序
(继承自 CollectionT。) | |
Sort(IComparerT) |
使用指定的比较器对所有元素进行排序。
(继承自 CollectionT。) | |
Sort(ComparisonT) |
使用指定的比较器对所有元素进行排序
(继承自 CollectionT。) | |
Sort(Int32, Int32, IComparerT) |
使用指定的比较器对某个范围内的元素进行排序。
(继承自 CollectionT。) |
名称 | 说明 | |
---|---|---|
ItemAdded |
项目添加之后
(继承自 CollectionT。) | |
ItemRemoved |
项目移出之后
(继承自 CollectionT。) |
名称 | 说明 | |
---|---|---|
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 定义。) |