Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

Size Members

Implements a structure that is used to describe the Size of an object.

The Size type exposes the following members.

  NameDescription
Public method Size Initializes a new instance of the Size structure and assigns it an initial width and height.
Top

  NameDescription
Public method Static member Equals Overloaded. Compares instances of Size and other objects for equality.
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Gets the hash code for this instance of Size. (Overrides ValueType.GetHashCode().)
Public method GetType Gets the type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method Static member Parse Returns an instance of Size from a converted String.
Public method ToString Overloaded. Returns a String that represents this instance of Size.
Top

  NameDescription
Public operator Static member Equality Compares two instances of Size for equality.
Public operator Static member Explicit Overloaded. Explicitly converts instances of Size to other data types.
Public operator Static member Inequality Compares two instances of Size for inequality.
Top

  NameDescription
Public property Static member Empty Gets a value that represents a static empty Size.
Public property Height Gets or sets the Height of this instance of Size.
Public property IsEmpty Gets a value that indicates whether this instance of Size is Empty.
Public property Width Gets or sets the Width of this instance of Size.
Top

  NameDescription
Explicit interface implemetation Private method IFormattable.ToString This type or member supports the Windows Presentation Foundation (WPF) infrastructure and is not intended to be used directly from your code.
Top

Community Additions

ADD
Show:
© 2015 Microsoft