Size.IsEmpty Property


Tests whether this Size structure has width and height of 0.

 property bool IsEmpty { bool get(); };
public bool IsEmpty { get; }
public bool IsEmpty { get; }
member this.IsEmpty : bool
Public ReadOnly Property IsEmpty As Boolean

Property Value

This property returns true when this Size structure has both a width and height of 0; otherwise, false.


Applies to