Size.IsEmpty 属性

定义

测试此 Size 结构是否宽度和高度为 0。

public:
 property bool IsEmpty { bool get(); };
[System.ComponentModel.Browsable(false)]
public bool IsEmpty { get; }
public bool IsEmpty { get; }
[<System.ComponentModel.Browsable(false)>]
member this.IsEmpty : bool
member this.IsEmpty : bool
Public ReadOnly Property IsEmpty As Boolean

属性值

当此true结构的宽度和高度均为 0 时,此属性返回Size;否则为 false

属性

适用于