点击或拖拽改变大小

TextLine 类

DuiTextBox行
继承层次
SystemObject
  DSkin.CommonCollectionILayoutElement
    DSkin.DirectUITextLine

命名空间:  DSkin.DirectUI
程序集:  DSkin (在 DSkin.dll 中) 版本:16.6.3.22
语法
C#
public class TextLine : Collection<ILayoutElement>

TextLine 类型公开以下成员。

构造函数
  名称说明
公共方法TextLine
初始化 TextLine 类的一个新实例
Top
属性
方法
  名称说明
公共方法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。)
Top
事件
扩展方法
  名称说明
公共扩展器方法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 定义。)
Top
参见