GridLength Members

Represents the length of elements that explicitly support Star unit types.

The GridLength type exposes the following members.

  NameDescription
Public method GridLength Overloaded. Initializes a new instance of the GridLength structure.
Top

  NameDescription
Public method Equals Overloaded. Determines whether two GridLength structures are equal.
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 a hash code for the GridLength. (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 ToString Returns a String representation of the GridLength. (Overrides ValueType.ToString().)
Top

  NameDescription
Public operator Static member Equality Compares two GridLength structures for equality.
Public operator Static member Inequality Compares two GridLength structures to determine if they are not equal.
Top

  NameDescription
Public property Static member Auto Gets an instance of GridLength that holds a value whose size is determined by the size properties of the content object.
Public property GridUnitType Gets the associated GridUnitType for the GridLength.
Public property IsAbsolute Gets a value that indicates whether the GridLength holds a value that is expressed in pixels.
Public property IsAuto Gets a value that indicates whether the GridLength holds a value whose size is determined by the size properties of the content object.
Public property IsStar Gets a value that indicates whether the GridLength holds a value that is expressed as a weighted proportion of available space.
Public property Value Gets a Double that represents the value of the GridLength.
Top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft