Size.IsEmpty 屬性

定義

測試這個 Size 結構的寬度和高度是否為零。

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

屬性值

如果這個 Size 結構的寬度和高度都為零,則這個屬性會傳回 true,否則會傳回 false

屬性

適用於