[]
        
(Showing Draft Content)

C1.Android.Grid.GridLength

GridLength Class

Used to define the size of the columns of FlexGrid.

Inheritance
GridLength
Namespace: C1.Android.Grid
Assembly: C1.Android.Grid.dll
Syntax
public sealed class GridLength : ValueType

Constructors

Name Description
GridLength(double)

Initializes a new instance of the GridLength struct.

GridLength(double, GridUnitType)

Initializes a new instance of the GridLength struct.

Properties

Name Description
Auto

A ready to reuse GridLength of GridUnitType.Auto.

GridUnitType

Gets the GridUnitType of the GridLength

IsAbsolute

Gets whether or not the GridUnitType of the GridLength is GridUnitType.Absolute.

IsAuto

Gets whether or not the GridUnitType of the GridLength is GridUnitType.Auto.

IsStar

Gets a value that indicates whether the GridUnitType of the GridLength is GridUnitType.Star.

Star

A ready to reuse GridLength of GridUnitType.Star with a Value of 1.

Value

Gets the Value of the GridLength.

Methods

Name Description
Equals(object)

Determines whether the specified object, is equal to this instance.

GetHashCode()

Returns a hash code for this instance.

Parse(string)

Parses a string into a GridLength.

ToString()

Returns a string that represents this instance.

Operators

Name Description
operator +(GridLength, GridLength)

Implements the operator +.

implicit operator GridLength(double)

Casting operator to convert a double into a GridLength of type GridUnitType.Absolute.

implicit operator GridLength(string)

Casting operator to convert a string into a GridLength.