Bagikan melalui


ThicknessHelper.FromLengths(Double, Double, Double, Double) Metode

Definisi

Membuat nilai Ketebalan berdasarkan nilai elemen. Kode C# harus menggunakan konstruktor Ketebalan(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

Parameter

left
Double

double

Inisial Left.

top
Double

double

Inisial Top.

right
Double

double

Inisial Right.

bottom
Double

double

Inisial Bottom.

Mengembalikan

Ketebalan yang dibuat.

Berlaku untuk