点击或拖拽改变大小

Size 属性

Size 类型公开以下成员。

属性
  名称说明
公共属性静态成员Empty
Empty - a static property which provides an Empty size. Width and Height are negative-infinity. This is the only situation where size can be negative.
公共属性Height
Height - Default is 0
公共属性IsEmpty
IsEmpty - this returns true if this size is the Empty size. Note: If size is 0 this Size still contains a 0 or 1 dimensional set of points, so this method should not be used to check for 0 area.
公共属性Width
Width - Default is 0
Top
参见