语言

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)

适用于