Click or drag to resize
GridLength Structure
Represents the length of elements that explicitly support Windows.UI.Xaml.GridUnitType.Star unit types.

Namespace: Windows.UI.Xaml
Assembly: CSharpXamlForHtml5 (in CSharpXamlForHtml5.dll) Version: 1.0.0.0
Syntax
C#
public struct GridLength

The GridLength type exposes the following members.

Constructors
  NameDescription
Public methodGridLength(Double)
Initializes a new instance of the Windows.UI.Xaml.GridLength structure using the specified absolute value in pixels.
Public methodGridLength(Double, GridUnitType)
Initializes a new instance of the Windows.UI.Xaml.GridLength structure and specifies what kind of value it holds.
Top
Methods
  NameDescription
Public methodClone
Returns a new instance of Gridlength with the same properties values.
Public methodEquals(GridLength)
Determines whether the specified Windows.UI.Xaml.GridLength is equal to the current Windows.UI.Xaml.GridLength.
Public methodEquals(Object)
Determines whether the specified object is equal to the current Windows.UI.Xaml.GridLength instance.
(Overrides ValueTypeEquals(Object).)
Public methodGetHashCode
Gets a hash code for the Windows.UI.Xaml.GridLength.
(Overrides ValueTypeGetHashCode.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns a System.String representation of the Windows.UI.Xaml.GridLength.
(Overrides ValueTypeToString.)
Top
Operators
  NameDescription
Public operatorStatic memberEquality
Compares two Windows.UI.Xaml.GridLength structures for equality.
Public operatorStatic memberInequality
Compares two Windows.UI.Xaml.GridLength structures to determine if they are not equal.
Top
Properties
  NameDescription
Public propertyStatic memberAuto
Gets an instance of Windows.UI.Xaml.GridLength that holds a value whose size is determined by the size properties of the content object.
Public propertyGridUnitType
Gets the associated Windows.UI.Xaml.GridUnitType for the Windows.UI.Xaml.GridLength.
Public propertyIsAbsolute
Gets a value that indicates whether the Windows.UI.Xaml.GridLength holds a value that is expressed in pixels.
Public propertyIsAuto
Gets a value that indicates whether the Windows.UI.Xaml.GridLength holds a value whose size is determined by the size properties of the content object.
Public propertyIsStar
Gets a value that indicates whether the Windows.UI.Xaml.GridLength holds a value that is expressed as a weighted proportion of available space.
Public propertyValue
Gets a System.Double that represents the value of the Windows.UI.Xaml.GridLength.
Top
See Also