TextAttributes 类 |
[缺少 "T:DSkin.Controls.TextAttributes" 的 <summary> 文档]
命名空间: DSkin.Controls
public class TextAttributes : Attributes
TextAttributes 类型公开以下成员。
名称 | 说明 | |
---|---|---|
![]() | TextAttributes | 初始化 TextAttributes 类的一个新实例 |
![]() | TextAttributes(String) | 初始化 TextAttributes 类的一个新实例 |
![]() | TextAttributes(String, Int32) | 初始化 TextAttributes 类的一个新实例 |
![]() | TextAttributes(String, Int32, Boolean, Color, Color, Font) | 初始化 TextAttributes 类的一个新实例 |
名称 | 说明 | |
---|---|---|
![]() | BackColor |
背景色
(继承自 Attributes。) |
![]() | Font |
字体
(继承自 Attributes。) |
![]() | ForeColor |
前景色,大部分时候指的是字体颜色
(继承自 Attributes。) |
![]() | OffsetY |
文字的位置偏移,用来微调文字在图上的位置
|
![]() | Show |
是否显示
(继承自 Attributes。) |
![]() | Text |
文字
|
名称 | 说明 | |
---|---|---|
![]() | 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 定义。) |