FixedPage.SetBottom(UIElement, Double) 方法

定義

設定項目底端與其父代 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)

參數

element
UIElement

要設定底端位移的項目。

length
Double

項目底邊與其父代畫布底邊之間的新距離。

備註

子項目的底端位移不會影響父畫布的大小。

如果在相同的元素上同時指定了上移和下位移,則最上層位移會優先。

將底部位移設定為百分比時,百分比值是以父畫布的大小為基礎。

適用於

另請參閱