Upravit

Sdílet prostřednictvím


FixedPage.SetBottom(UIElement, Double) Method

Definition

Sets the distance between the bottom of an element and the bottom of its parent Canvas.

public:
 static void SetBottom(System::Windows::UIElement ^ element, double length);
public static void SetBottom (System.Windows.UIElement element, double length);
static member SetBottom : System.Windows.UIElement * double -> unit
Public Shared Sub SetBottom (element As UIElement, length As Double)

Parameters

element
UIElement

The element on which to set the bottom offset.

length
Double

The new distance between the bottom side of the element and the bottom side of its parent canvas.

Remarks

The child element's bottom offset does not affect the size of the parent canvas.

If both a top and a bottom offset have been specified on the same element, the top offset takes precedence.

When setting the bottom offset as a percentage, the percentage value is based on the size of the parent canvas.

Applies to

See also