Represents the length of elements that explicitly support Star unit types.
Assembly: PresentationFramework (in PresentationFramework.dll)
[TypeConverterAttribute(typeof(GridLengthConverter))] public struct GridLength : IEquatable<GridLength>
[TypeConverterAttribute((GridLengthConverter^::typeid))] public value struct GridLength : IEquatable<GridLength>
[<Sealed>] [<TypeConverterAttribute(typeof(GridLengthConverter))>] type GridLength = struct interface IEquatable<GridLength> end
<TypeConverterAttribute(GetType(GridLengthConverter))> Public Structure GridLength Implements IEquatable(Of GridLength)
Gets an instance ofthat holds a value whose size is determined by the size properties of the content object.
Gets the associated GridUnitType for the .
Gets a value that indicates whether theholds a value that is expressed in pixels.
Gets a value that indicates whether theholds a value whose size is determined by the size properties of the content object.
Gets a value that indicates whether theholds a value that is expressed as a weighted proportion of available space.
Gets a Double that represents the value of the .
Determines whether the specifiedis equal to the current .
Determines whether the specified object is equal to the current ValueTypeEquals.)instance. (Overrides
Gets a hash code for the ValueTypeGetHashCode.). (Overrides
<object property="doubleLength"/> - or - <object property="autoValue"/>
The element’s length, described as either a Double value that specifies a device-independent units (1/96th inch per unit) measure, or as a qualifiedDouble (see below).
The element's length, described by either the value Auto or *. See GridUnitType for more information on the values Auto and *.
A double value as described above for any of the measures, followed by one of the following unit declaration strings: px, in, cm, pt.
px (default) is device-independent units (1/96th inch per unit)
in is inches; 1in==96px
cm is centimeters; 1cm==(96/2.54) px
pt is points; 1pt==(96/72) px
Available since 3.0
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.