InkCanvas.SetBottom(UIElement, Double) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
设置给定依赖对象的附加属性的值 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)