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)

適用於