Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
DataGridLength Constructor (Double, DataGridLengthUnitType)

DataGridLength Constructor (Double, DataGridLengthUnitType)

Initializes a new instance of the DataGridLength class with a specified value and unit.

Namespace:  System.Windows.Controls
Assembly:  PresentationFramework (in PresentationFramework.dll)

public DataGridLength(
	double value,
	DataGridLengthUnitType type
)

Parameters

value
Type: System.Double

The requested size of the element.

type
Type: System.Windows.Controls.DataGridLengthUnitType

The type that is used to determine how the size of the element is calculated.

.NET Framework

Supported in: 4.6, 4.5, 4

.NET Framework Client Profile

Supported in: 4
Show:
© 2015 Microsoft