Represents the length of elements that explicitly support Star unit types.
Assembly: System.Windows (in System.Windows.dll)
<GridLength ...>doubleValue</GridLength> - or - <GridLength ...>starSizing</GridLength> - or - <GridLength ...>Auto</GridLength>
<object property="doubleValue"/> - or - <object property="starSizing"/> -or- <object property="Auto"/>
Thetype exposes the following members.
|Auto||Gets an instance of that holds a value whose size is determined by the size properties of the content object.|
|GridUnitType||Gets the associated GridUnitType for the .|
|IsAbsolute||Gets a value that indicates whether the holds a value that is expressed in pixels.|
|IsAuto||Gets a value that indicates whether the holds a value whose size is determined by the size properties of the content object.|
|IsStar||Gets a value that indicates whether the holds a value that is expressed as a weighted proportion of available space.|
|Value||Gets a Double that represents the value of the .|
|Equals(GridLength)||Determines whether the specified is equal to the current .|
|Equals(Object)||Determines whether the specified object is equal to the current instance. (Overrides ValueType.Equals(Object).)|
|Finalize||Allows an object to try to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)|
|GetHashCode||Gets a hash code for the . (Overrides ValueType.GetHashCode.)|
|GetType||Gets the Type of the current instance. (Inherited from Object.)|
|MemberwiseClone||Creates a shallow copy of the current Object. (Inherited from Object.)|
|ToString||Returns a String representation of the . (Overrides ValueType.ToString.)|
If you specify a for use as a resource, use the object element usage and set the value using initialization text.
Star sizing is a convention whereby any measurement that includes an asterisk (*) in its XAML-declared value uses any remaining space for rows or columns. * can be preceded with a number value that specifies a weighted factor versus other possible star sizings (for example, 3*). If all values that declare rows or columns use star sizing, the space is divided equally, but with any number weights factored in.
The following table provides some examples of star sizing results. For these examples, assume that the parent Grid has a fixed Width of 600, and that these values apply to the Width of three ColumnDefinition elements.
Noninteger numeric factors are allowed, for example .5*.
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.