Table of Contents

Struct GridDimension

Namespace
MagicUI.Elements
Assembly
MagicUI.dll

A measure of a grid row/column with a unitt

public struct GridDimension
Inherited Members

Constructors

GridDimension(float, GridUnit)

Convenience constructor to initialize a GridDimension

public GridDimension(float size, GridUnit unit)

Parameters

size float
unit GridUnit

Properties

Size

The size of the dimension

public float Size { readonly get; init; }

Property Value

float

Unit

The unit of the dimension

public GridUnit Unit { readonly get; init; }

Property Value

GridUnit

Methods

ToString()

Returns the fully qualified type name of this instance.

public override string ToString()

Returns

string

The fully qualified type name.