Thickness.Bottom Eigenschaft

Definition

Ruft die Breite, in Pixeln, des unteren Rands des umgebenden Rechtecks ab oder legt sie fest.Gets or sets the width, in pixels, of the lower side of the bounding rectangle.

public:
 property double Bottom { double get(); void set(double value); };
public double Bottom { get; set; }
member this.Bottom : double with get, set
Public Property Bottom As Double

Eigenschaftswert

Ein Double, der die Breite, in Pixeln, des unteren Rands des umgebenden Rechtecks für diese Instanz von Thickness darstellt.A Double that represents the width, in pixels, of the lower side of the bounding rectangle for this instance of Thickness. Ein Pixel entspricht 1/96 Zoll.A pixel is equal to 1/96 of an inch. Der Standard ist 0.The default is 0.

Beispiele

Im folgenden Beispiel wird gezeigt, wie der Wert der Bottom -Eigenschaft mithilfe Extensible Application Markup Language (XAML)Extensible Application Markup Language (XAML) von und Code festgelegt wird.The following example shows how to set the value of the Bottom property by using Extensible Application Markup Language (XAML)Extensible Application Markup Language (XAML) and code.

myBorder2 = new Border();
myBorder2.BorderBrush = Brushes.SteelBlue;
myBorder2.Width = 400;
myBorder2.Height = 400;
myThickness = new Thickness();
myThickness.Bottom = 5;
myThickness.Left = 10;
myThickness.Right = 15;
myThickness.Top = 20;
myBorder2.BorderThickness = myThickness;
Dim myBorder2 As New Border()
myBorder2.BorderBrush = Brushes.SteelBlue
myBorder2.Width = 400
myBorder2.Height = 400
Dim myThickness As New Thickness()
myThickness.Bottom = 5
myThickness.Left = 10
myThickness.Right = 15
myThickness.Top = 20
myBorder2.BorderThickness = myThickness
<Border BorderBrush="SteelBlue" Width="400" Height="400" Canvas.Left="100" Canvas.Top="100">
  <Border.BorderThickness>
    10,20,15,5
  </Border.BorderThickness>
</Border>

Gilt für: