IsEmpty

Size.IsEmpty property

Gets a value that indicates whether the size is empty.

public bool IsEmpty { get; }

Return Value

true if the Width and Height are zero; otherwise, false.

See Also