ThicknessHelper.FromLengths(Double, Double, Double, Double) Metodo

Definizione

Crea un valore Thickness basato sui valori degli elementi. Il codice C# e Microsoft Visual Basic devono usare invece il costruttore 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

Parametri

left
Double

double

Iniziale a sinistra.

top
Double

double

Oggetto Top iniziale.

right
Double

double

Diritto iniziale.

bottom
Double

double

Oggetto Bottom iniziale.

Restituisce

Spessore creato.

Si applica a