DataGridLength.

DataGridLength(double, DataGridLengthUnitType) Constructor

Summary

Initializes to a specified value and unit.
Namespace
Avalonia.Controls
Containing Type
DataGridLength

Syntax

public DataGridLength(double value, DataGridLengthUnitType type)

Remarks

value is ignored unless type is DataGridLengthUnitType.Pixel or DataGridLengthUnitType.Star

Parameters

Name Type Description
value double The value to hold.
type DataGridLengthUnitType The unit of value.

Return Value

Type Description
void