ThicknessHelper.FromLengths(Double, Double, Double, Double) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a Thickness value based on element values. C# code should use the Thickness(Double,Double,Double,Double) constructor instead.
public:
static Thickness FromLengths(double left, double top, double right, double bottom);
static Thickness FromLengths(double const& left, double const& top, double const& right, double const& bottom);
public static Thickness FromLengths(double left, double top, double right, double bottom);
function fromLengths(left, top, right, bottom)
Public Shared Function FromLengths (left As Double, top As Double, right As Double, bottom As Double) As Thickness
Parameters
- left
-
Double
double
The initial Left
.
- top
-
Double
double
The initial Top
.
- right
-
Double
double
The initial Right
.
- bottom
-
Double
double
The initial Bottom
.
Returns
The created Thickness.