Szerkesztés

Megosztás a következőn keresztül:


Thickness Constructors

Definition

Overloads

Thickness(Double)

Initializes a Thickness structure that has the specified uniform length on each side.

Thickness(Double, Double, Double, Double)

Initializes a Thickness structure that has specific lengths (supplied as a Double) applied to each side of the rectangle.

Remarks

This struct represents the .NET projection of the Windows Runtime (WinRT) Thickness struct. For more information, see Thickness in the UWP API reference.

Thickness(Double)

Initializes a Thickness structure that has the specified uniform length on each side.

public:
 Thickness(double uniformLength);
public Thickness (double uniformLength);
new Windows.UI.Xaml.Thickness : double -> Windows.UI.Xaml.Thickness
Public Sub New (uniformLength As Double)

Parameters

uniformLength
Double

The uniform length applied to all four sides of the bounding rectangle.

Applies to

Thickness(Double, Double, Double, Double)

Initializes a Thickness structure that has specific lengths (supplied as a Double) applied to each side of the rectangle.

public:
 Thickness(double left, double top, double right, double bottom);
public Thickness (double left, double top, double right, double bottom);
new Windows.UI.Xaml.Thickness : double * double * double * double -> Windows.UI.Xaml.Thickness
Public Sub New (left As Double, top As Double, right As Double, bottom As Double)

Parameters

left
Double

The thickness for the left side of the rectangle.

top
Double

The thickness for the upper side of the rectangle.

right
Double

The thickness for the right side of the rectangle.

bottom
Double

The thickness for the lower side of the rectangle.

Applies to