Export (0) Print
Expand All

Size Members

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

The following tables list the members exposed by the Size type.

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

  Name Description
Public property Static 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

(see also Protected Methods )
  Name Description
Public method Equals Overloaded. Overridden. Compares instances of Size and other objects for equality.
Public method GetHashCode Overridden. Gets the hash code for this instance of Size.
Public method GetType  Gets the Type of the current instance. (inherited from Object)
Public method Static op_Equality Compares two instances of Size for equality.
Public method Static op_Explicit Overloaded. Explicitly converts instances of Size to other data types.
Public method Static op_Inequality Compares two instances of Size for inequality.
Public method Static Parse Returns an instance of Size from a converted String.
Public method Static ReferenceEquals  Determines whether the specified Object instances are the same instance. (inherited from Object)
Public method ToString Overloaded. Overridden. Returns a String that represents this instance of Size.
Top

  Name Description
Protected method Finalize  Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (inherited from Object)
Protected method MemberwiseClone  Creates a shallow copy of the current Object. (inherited from Object)
Top

  Name Description
Explicit interface implementation Method System.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:
© 2014 Microsoft