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 the specified value and unit type.

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

public DataGridLength(
	double value,
	DataGridLengthUnitType type
)

Parameters

value
Type: System.Double
The value of the DataGridLength.
type
Type: System.Windows.Controls.DataGridLengthUnitType
The unit type of the DataGridLength.

value is used only when type is Pixel or Star; otherwise, value is not meaningful.

Silverlight

Supported in: 5, 4

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

ADD
Show:
© 2015 Microsoft