[]
        
(Showing Draft Content)

C1.Chart.GridLength

GridLength Class

GridLength is the type used for various length-like properties in the system, that explicitely support Star unit type. For example, "Width", "Height" properties of ColumnDefinition and RowDefinition used by Grid.

Inheritance
GridLength
Namespace: C1.Chart
Assembly: C1.Blazor.Chart.dll
Syntax
public class GridLength

Constructors

Name Description
GridLength(double)

Constructor, initializes the GridLength as absolute value in pixels.

GridLength(double, GridUnitType)

Constructor, initializes the GridLength and specifies what kind of value it will hold.

Properties

Name Description
Auto

Returns initialized Auto GridLength value.

IsAbsolute

Returns true if this GridLength instance holds an absolute (pixel) value.

IsAuto

Returns true if this GridLength instance is automatic (not specified).

IsStar

Returns true if this GridLength instance holds weighted propertion of available space.

UnitType

Returns unit type of this GridLength instance.

Value

Returns value part of this GridLength instance.