GridLength.GridLength(Double, GridUnitType) constructor

Applies to Windows and Windows Phone

Initializes a new GridLength structure and specifies what kind of value it holds.

Syntax


public GridLength(
  double value, 
  GridUnitType type
)

Parameters

value

Type: System.Double

The initial value of the GridLength.

type

Type: GridUnitType

The GridUnitType value held by the GridLength.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8.1 [Windows Runtime apps only]

Namespace

Windows.UI.Xaml

Metadata

Platform.winmd

Assembly

System.Runtime.WindowsRuntime.UI.Xaml.dll

See also

GridLength

 

 

Show:
© 2014 Microsoft. All rights reserved.