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

Size.Empty Property

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Gets a value that represents a static empty Size.

Namespace:  System.Windows
Assembly:  System.Windows (in System.Windows.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.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2016 Microsoft