Size.IsEmpty Property

Definition

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

Property Value

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

Attributes

Applies to