ThicknessHelper.FromUniformLength(Double) Method

Definition

Creates a new Thickness value using a uniform value for all the element values. C# and Microsoft Visual Basic code should use the Thickness(Double) constructor instead.

public:
 static Thickness FromUniformLength(double uniformLength);
 static Thickness FromUniformLength(double const& uniformLength);
public static Thickness FromUniformLength(double uniformLength);
function fromUniformLength(uniformLength)
Public Shared Function FromUniformLength (uniformLength As Double) As Thickness

Parameters

uniformLength
Double

double

The uniform value to apply to all four of the Thickness element values.

Returns

The created Thickness.

Applies to