Thickness 结构 |
命名空间: CPF
public struct Thickness : IEquatable<Thickness>
Thickness 类型公开以下成员。
名称 | 说明 | |
---|---|---|
Thickness(Single) |
表示四周的厚度 This constructur builds a Thickness with a specified value on every side.
| |
Thickness(Single, Single) |
Initializes a new instance of the Thickness structure.
| |
Thickness(Single, Single, Single, Single) |
This constructor builds a Thickness with the specified number of pixels on each side.
表示四周的厚度
|
名称 | 说明 | |
---|---|---|
Bottom | This property is the Length on the thickness' bottom side | |
Horizontal |
Right + Left
| |
Left | This property is the Length on the thickness' left side | |
Right | This property is the Length on the thickness' right side | |
Top | This property is the Length on the thickness' top side | |
Vertical |
Top + Bottom
|
名称 | 说明 | |
---|---|---|
Equals(Object) |
This function compares to the provided object for type and value equality.
(重写 ValueTypeEquals(Object).) | |
Equals(Thickness) |
Compares this instance of Thickness with another instance.
| |
GetHashCode |
This function returns a hash code.
(重写 ValueTypeGetHashCode.) | |
GetType | (继承自 Object。) | |
Parse |
Parses a Thickness string.
| |
ToString |
{Left},{Top},{Right},{Bottom}
(重写 ValueTypeToString.) |
名称 | 说明 | |
---|---|---|
Equality |
Overloaded operator to compare two Thicknesses for equality.
| |
(String to Thickness) | ||
Inequality |
Overloaded operator to compare two Thicknesses for inequality.
|
名称 | 说明 | |
---|---|---|
ConvertTo |
类型转换
(由 ObjectExtenstions 定义。) | |
Delay |
延迟操作
(由 ObjectExtenstions 定义。) | |
Equal |
对象是否相等
(由 ObjectExtenstions 定义。) | |
GetCreationCode | (由 ObjectExtenstions 定义。) | |
GetPropretyValue |
获取对象属性值
(由 ObjectExtenstions 定义。) | |
GetValue |
快速动态获取对象的属性值
(由 FastReflectionExtensions 定义。) | |
Invoke |
快速动态调用对象的方法
(由 FastReflectionExtensions 定义。) | |
SetPropretyValue |
设置属性值
(由 ObjectExtenstions 定义。) | |
SetValue |
快速动态设置对象的属性值
(由 FastReflectionExtensions 定义。) |