Compartir a través de


ThicknessHelper.FromLengths(Double, Double, Double, Double) Método

Definición

Crea un valor de Grosor basado en valores de elemento. En su lugar, el código de C# y Microsoft Visual Basic deben usar el constructor 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

Parámetros

left
Double

double

Inicial Left.

top
Double

double

La parte superior inicial.

right
Double

double

La derecha inicial.

bottom
Double

double

La parte inferior inicial.

Devoluciones

Grosor creado.

Se aplica a