Size.IsEmpty

Size.IsEmpty property

Tests whether this Size has width and height of 0.

public bool IsEmpty { get; }

Return Value

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

See Also