ThicknessHelper.FromLengths(Double, Double, Double, Double) 方法

定义

基于元素值创建 Thickness 值。 C# 代码应改用 Thickness (Double、Double、Double、Double) 构造函数。

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

参数

left
Double

double

初始 Left

top
Double

double

初始 Top

right
Double

double

初始 Right

bottom
Double

double

初始 Bottom

返回

创建的 粗细

适用于