点击或拖拽改变大小

PixelSize 方法

PixelSize 类型公开以下成员。

方法
  名称说明
公共方法Equals
Checks for equality between a size and an object.
(重写 ValueTypeEquals(Object).)
公共方法静态成员FromSize(Size, Vector)
Converts a Size to device pixels using the specified scaling factor.
公共方法静态成员FromSize(Size, Double)
Converts a Size to device pixels using the specified scaling factor.
公共方法静态成员FromSizeWithDpi(Size, Vector)
Converts a Size to device pixels using the specified dots per inch (DPI).
公共方法静态成员FromSizeWithDpi(Size, Double)
Converts a Size to device pixels using the specified dots per inch (DPI).
公共方法GetHashCode
Returns a hash code for a PixelSize.
(重写 ValueTypeGetHashCode.)
公共方法GetType (继承自 Object。)
公共方法静态成员Parse
公共方法ToSize(Single)
Converts the PixelSize to a device-independent Size using the specified scaling factor.
公共方法ToSize(Vector)
Converts the PixelSize to a device-independent Size using the specified scaling factor.
公共方法ToSizeWithDpi(Single)
Converts the PixelSize to a device-independent Size using the specified dots per inch (DPI).
公共方法ToSizeWithDpi(Vector)
Converts the PixelSize to a device-independent Size using the specified dots per inch (DPI).
公共方法ToString
Returns the string representation of the size.
(重写 ValueTypeToString.)
公共方法WithHeight
Returns a new PixelSize with the same width and the specified height.
公共方法WithWidth
Returns a new PixelSize with the same height and the specified width.
Top
扩展方法
  名称说明
公共扩展器方法ConvertTo
类型转换
(由 ObjectExtenstions 定义。)
公共扩展器方法Delay
延迟操作
(由 ObjectExtenstions 定义。)
公共扩展器方法Equal
对象是否相等
(由 ObjectExtenstions 定义。)
公共扩展器方法GetCreationCode (由 ObjectExtenstions 定义。)
公共扩展器方法GetPropretyValue
获取对象属性值
(由 ObjectExtenstions 定义。)
公共扩展器方法GetValue
快速动态获取对象的属性值
(由 FastReflectionExtensions 定义。)
公共扩展器方法Invoke
快速动态调用对象的方法
(由 FastReflectionExtensions 定义。)
公共扩展器方法SetPropretyValue
设置属性值
(由 ObjectExtenstions 定义。)
公共扩展器方法SetValue
快速动态设置对象的属性值
(由 FastReflectionExtensions 定义。)
Top
参见