[]
        
(Showing Draft Content)

C1.Blazor.Grid.GridLength

GridLength Struct

Used to define the size of the columns of C1GridControl.

Namespace: C1.Blazor.Grid
Assembly: C1.Blazor.GridControl.dll
Syntax
public struct GridLength

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
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.