Represents the length of elements that explicitly support Star unit types.
public value class GridLength : IEquatable<System::Windows::GridLength>
[System.ComponentModel.TypeConverter(typeof(System.Windows.GridLengthConverter))] public struct GridLength : IEquatable<System.Windows.GridLength>
type GridLength = struct
Public Structure GridLength Implements IEquatable(Of GridLength)
XAML Attribute Usage
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 (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
Initializes a new instance of the GridLength structure using the specified absolute value in pixels.
Initializes a new instance of the GridLength structure and specifies what kind of value it holds.
Gets an instance of GridLength that holds a value whose size is determined by the size properties of the content object.
Gets a value that indicates whether the GridLength holds a value that is expressed in pixels.
Gets a value that indicates whether the GridLength holds a value whose size is determined by the size properties of the content object.
Gets a value that indicates whether the GridLength holds a value that is expressed as a weighted proportion of available space.
Determines whether the specified object is equal to the current GridLength instance.
Gets a hash code for the GridLength.
Compares two GridLength structures for equality.
Compares two GridLength structures to determine if they are not equal.