語言

InkCanvas.SetBottom(UIElement, Double) 方法

定義

設定給定相依物件所附屬性的值 Bottom 。

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

的 element底部座標。

範例

以下範例示範如何設定 的位置 Button。

InkCanvas.SetBottom(button1, 100);
InkCanvas.SetBottom(button1, 100)

適用於