Click or drag to resize
Size Structure
Describes the width and height of an object.

Namespace: Windows.Foundation
Assembly: CSharpXamlForHtml5 (in CSharpXamlForHtml5.dll) Version: 1.0.0.0
Syntax
C#
public struct Size

The Size type exposes the following members.

Constructors
  NameDescription
Public methodSize
Initializes a new instance of the Windows.Foundation.Size structure and assigns it an initial width and height.
Top
Methods
  NameDescription
Public methodEquals(Object)
Compares an object to an instance of Windows.Foundation.Size for equality.
(Overrides ValueTypeEquals(Object).)
Public methodEquals(Size)
Compares a value to an instance of Windows.Foundation.Size for equality.
Public methodGetHashCode
Gets the hash code for this instance of Windows.Foundation.Size.
(Overrides ValueTypeGetHashCode.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns a string representation of this Windows.Foundation.Size.
(Overrides ValueTypeToString.)
Top
Operators
  NameDescription
Public operatorStatic memberEquality
Compares two instances of Windows.Foundation.Size for equality.
Public operatorStatic memberInequality
Compares two instances of Windows.Foundation.Size for inequality.
Top
Properties
  NameDescription
Public propertyStatic memberEmpty
Gets a value that represents a static empty Windows.Foundation.Size.
Public propertyHeight
Gets or sets the height of this instance of Windows.Foundation.Size in pixels. The default is 0. The value cannot be negative.
Public propertyIsEmpty
Gets a value that indicates whether this instance of Windows.Foundation.Size is Windows.Foundation.Size.Empty.
Public propertyWidth
Gets or sets the width of this instance of Windows.Foundation.Size.
Top
See Also