Size.Empty Property

Gets a value that represents a static empty Size.

Namespace:  Windows.Foundation
Assembly:  System.Runtime.WindowsRuntime (in System.Runtime.WindowsRuntime.dll)

public static Size Empty { get; }

Property Value

Type: Windows.Foundation.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.

Supported in: Windows Phone Silverlight 8
Show:
© 2015 Microsoft