Dela via


SizeHelper.Empty Property

Definition

Gets a static Size value where the Size has no height or width. C# and Microsoft Visual Basic code should use Size.Empty instead.

public:
 static property Size Empty { Size get(); };
static Size Empty();
public static Size Empty { get; }
var size = SizeHelper.empty;
Public Shared ReadOnly Property Empty As Size

Property Value

A Size with Width and Height set to negative infinity.

Applies to