GridLength 结构 |
命名空间: CPF.Controls
public struct GridLength : IEquatable<GridLength>
GridLength 类型公开以下成员。
| 名称 | 说明 | |
|---|---|---|
| GridLength(Single) |
Constructor, initializes the GridLength as absolute value in pixels.
| |
| GridLength(Single, GridUnitType) |
Constructor, initializes the GridLength and specifies what kind of value
it will hold.
|
| 名称 | 说明 | |
|---|---|---|
| Auto |
Returns initialized Auto GridLength value.
| |
| GridUnitType |
Returns unit type of this GridLength instance.
| |
| IsAbsolute |
Returns true if this GridLength instance holds
an absolute (pixel) value.
| |
| IsAuto |
Returns true if this GridLength instance is
automatic (not specified).
| |
| IsStar |
Returns true if this GridLength instance holds weighted propertion
of available space.
| |
| Star |
* 默认Value=1
| |
| Value |
Returns value part of this GridLength instance.
|
| 名称 | 说明 | |
|---|---|---|
| Equals(Object) |
Compares this instance of GridLength with another object.
(重写 ValueTypeEquals(Object).) | |
| Equals(GridLength) |
Compares this instance of GridLength with another instance.
| |
| GetHashCode | (重写 ValueTypeGetHashCode.) | |
| GetType | (继承自 Object。) | |
| ToString |
Returns the string representation of this object.
(重写 ValueTypeToString.) |
| 名称 | 说明 | |
|---|---|---|
| Equality |
Overloaded operator, compares 2 GridLength's.
| |
| (Double to GridLength) |
双精度转化为单精度,单位默认
| |
| (Single to GridLength) | ||
| (String to GridLength) |
数字*或者直接数字或者auto
| |
| Inequality |
Overloaded operator, compares 2 GridLength's.
|
| 名称 | 说明 | |
|---|---|---|
| ConvertTo |
类型转换
(由 ObjectExtenstions 定义。) | |
| Delay |
延迟操作
(由 ObjectExtenstions 定义。) | |
| Equal |
对象是否相等
(由 ObjectExtenstions 定义。) | |
| GetCreationCode | (由 ObjectExtenstions 定义。) | |
| GetPropretyValue |
获取对象属性值
(由 ObjectExtenstions 定义。) | |
| GetValue |
快速动态获取对象的属性值
(由 FastReflectionExtensions 定义。) | |
| Invoke |
快速动态调用对象的方法
(由 FastReflectionExtensions 定义。) | |
| SetPropretyValue |
设置属性值
(由 ObjectExtenstions 定义。) | |
| SetValue |
快速动态设置对象的属性值
(由 FastReflectionExtensions 定义。) |