Describes the width and height of an object.
public value class Size
public struct Size
[System.Security.SecurityCritical] public struct Size
type Size = struct
Public Structure Size
This struct represents the .NET projection of the Windows Runtime (WinRT)
Size struct. For more information, see Size in the UWP API reference.
Initializes a new instance of the Size struct and assigns it an initial width and height.
Gets a value that represents an empty Size.
Gets or sets the height of this instance of Size.
Gets or sets the width of this instance of Size.
Compares an object to an instance of Size for equality.
Compares a value to an instance of Size for equality.
Gets the hash code for this instance of Size.
Returns a string representation of this Size.
Compares two instances of Size for equality.
Compares two instances of Size for inequality.