Empty Property
Collapse the table of content
Expand the table of content

Size.Empty Property

 

Gets a value that represents a static empty Size.

Namespace:   System.Windows
Assembly:  WindowsBase (in WindowsBase.dll)

public static Size Empty { get; }

Property Value

Type: System.Windows.Size

An empty instance of Size.

The Width and Height of the instance of Size are equal to negative-infinity when this property is invoked. This is the only situation where Size can be a negative number.

.NET Framework
Available since 3.0
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Return to top
Show:
© 2016 Microsoft