Size Structure
Defines a size as height and width.
public struct Size
Public Instance Constructors
Constructor | Description |
Size | Initializes a new instance of the Size structure. |
Public Operators
Operator | Description |
Addition Operator | Combines two Size structures. |
Equality Operator | Tests whether two specified Size structures are equivalent. |
Inequality Operator | Tests whether two Size structures are different. |
Subtraction Operator | Subtracts one Size structure from another. |
Public Static Methods
Method | Description |
Add | Combines two Size structures. |
Subtract | Subtracts one Size structure from another. |
Public Instance Methods
Method | Description |
Equals | Determines whether two Size structures have the same height and width. |
GetHashCode | Returns a hash code for this structure. |
ToString | Converts this structure to a human-readable string. |
Public Static Fields
Field | Description |
Zero | Represents a zero size. |
Public Instance Properties
Property | Description |
Height | Gets or sets the vertical component of the size. |
Width | Gets or sets the horizontal component of the size. |
Requirements
Reference: Microsoft.MediaCenter.UI
Namespace: Microsoft.MediaCenter.UI
Assembly: Microsoft.MediaCenter.UI.dll
Platform: Windows Vista Ultimate, Windows Vista Home Premium, and later
See Also