Thickness Constructor (Double)

May 11, 2014

Initializes a Thickness structure that has the specified uniform length on each side.

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

public Thickness(
	double uniformLength
)

Parameters

uniformLength
Type: System.Double
The uniform length applied to all four sides of the bounding rectangle.

Although the type of the property values of a Thickness is Double, you generally should use integer values.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2014 Microsoft