Compartilhar via


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

Definição

Cria um valor de Espessura com base em valores de elemento. O código C# deve usar o construtor 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

O Left inicial.

top
Double

double

O Top inicial.

right
Double

double

O Right inicial.

bottom
Double

double

O Bottom inicial.

Retornos

A espessura criada.

Aplica-se a