Partilhar via


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

Definição

Cria um valor thickness com base em valores de elemento. Em vez disso, o código do C# e do Microsoft Visual Basic deve usar o construtor Thickness(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

A esquerda inicial.

top
Double

double

O Top inicial.

right
Double

double

A direita inicial.

bottom
Double

double

A parte inferior inicial.

Retornos

A Espessura criada.

Aplica-se a