Size.IsEmpty Size.IsEmpty Size.IsEmpty Size.IsEmpty Property

定義

測試這個 Size 結構的寬度和高度是否為零。Tests whether this Size structure has width and height of 0.

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

屬性值

如果這個 Size 結構的寬度和高度都為零,則這個屬性會傳回 true,否則會傳回 falseThis property returns true when this Size structure has both a width and height of 0; otherwise, false.

適用於